1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

Change test c++ standard handling

Moving from "mandatory c++14" to "at least c++14".
This commit is contained in:
Guillaume Chatelet
2025-05-06 11:21:35 +00:00
parent 6732d75eb1
commit a2a73fa34e
2 changed files with 17 additions and 4 deletions

View File

@ -211,10 +211,6 @@ if(BUILD_TESTING)
# found.
enable_language(CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) # prefer use of -std14 instead of -gnustd14
if(NOT TARGET gtest OR NOT TARGET gmock_main)
# Download and unpack googletest at configure time.
configure_file(