cpu_features: ignore additional errors

This commit is contained in:
Simon Fels 2018-06-23 12:49:59 +02:00 • committed by Simon Fels
commit 5049157a4c

View file

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)
project(CpuFeatures VERSION 0.1.0)
# ANBOX allow to build in our more strict build environment
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=switch-default")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=switch-default -Wno-error=unused-parameter -Wno-error=overflow")
# Default Build Type to be Release
if(NOT CMAKE_BUILD_TYPE)