simplify setting C++ standard

This commit is contained in:
Dominic Hamon 2023-03-11 14:09:45 +00:00
parent f32748c372
commit 1b507cbf10
1 changed files with 0 additions and 4 deletions

View File

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