Skip to content

Commit 07a7331

Browse files
authored
Don't force CXX_STANDARD for Google Test.
Fixes #393 .
1 parent dacfd48 commit 07a7331

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ if(BUILD_TESTING)
211211
# found.
212212
enable_language(CXX)
213213

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-
218214
if(NOT TARGET gtest OR NOT TARGET gmock_main)
219215
# Download and unpack googletest at configure time.
220216
configure_file(

0 commit comments

Comments
 (0)