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)
|
||||
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