mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 13:21:13 +02:00
CMake: Enable CXX compiler for tests only (#110)
CMake: Enable CXX compiler for tests only Co-authored-by: Mizux <mizux.dev@gmail.com>
This commit is contained in:
@ -2,10 +2,6 @@
|
||||
# libraries for tests
|
||||
#
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF) # prefer use of -std11 instead of -gnustd11
|
||||
|
||||
include_directories(../include)
|
||||
add_definitions(-DCPU_FEATURES_TEST)
|
||||
|
||||
|
Reference in New Issue
Block a user