cpu_features: allow it to build in our more strict build environment
This commit is contained in:
parent
93c4dfb39f
commit
7eb8f2bad8
1 changed files with 3 additions and 0 deletions
3
external/cpu_features/CMakeLists.txt
vendored
3
external/cpu_features/CMakeLists.txt
vendored
|
|
@ -2,6 +2,9 @@ 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")
|
||||
|
||||
# Default Build Type to be Release
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue