We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CXX_STANDARD
1 parent 07a7331 commit 6732d75Copy full SHA for 6732d75
CMakeLists.txt
@@ -211,6 +211,10 @@ if(BUILD_TESTING)
211
# found.
212
enable_language(CXX)
213
214
+ set(CMAKE_CXX_STANDARD 14)
215
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
216
+ set(CMAKE_CXX_EXTENSIONS OFF) # prefer use of -std14 instead of -gnustd14
217
+
218
if(NOT TARGET gtest OR NOT TARGET gmock_main)
219
# Download and unpack googletest at configure time.
220
configure_file(
0 commit comments