mirror of https://github.com/google/benchmark.git
simplify setting C++ standard
This commit is contained in:
parent
f32748c372
commit
1b507cbf10
|
@ -128,10 +128,6 @@ if (BENCHMARK_BUILD_32_BITS)
|
||||||
add_required_cxx_compiler_flag(-m32)
|
add_required_cxx_compiler_flag(-m32)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(BENCHMARK_CXX_STANDARD 14)
|
set(BENCHMARK_CXX_STANDARD 14)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue