From 5049157a4c1ab1e908e9b8449d2368fbf2646d3e Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Sat, 23 Jun 2018 12:49:59 +0200 Subject: [PATCH] cpu_features: ignore additional errors --- external/cpu_features/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/cpu_features/CMakeLists.txt b/external/cpu_features/CMakeLists.txt index 6367e11..6406073 100644 --- a/external/cpu_features/CMakeLists.txt +++ b/external/cpu_features/CMakeLists.txt @@ -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)