Skip to content

Commit

Permalink
Fix build with GoogleTest 1.14.0
Browse files Browse the repository at this point in the history
GoogleTest 1.14.0 requires C++14
  • Loading branch information
andreasstieger authored and Andreas Stieger committed Apr 18, 2024
1 parent 9dda715 commit 8403ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ endif(MSVC)

# set a few other things at the top level to prevent incompatibilities
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_definitions(-D_GNU_SOURCE)
Expand Down

0 comments on commit 8403ce0

Please sign in to comment.