mirror of
https://github.com/google/benchmark.git
synced 2025-04-12 12:31:02 +08:00
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)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if (MSVC)
|
||||
set(BENCHMARK_CXX_STANDARD 14)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user