Skip to content

Commit

Permalink
test.cmake updated to use c++17 standard
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiliyk committed Nov 6, 2024
1 parent 18f9551 commit 13d0812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cmake/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ if(MSVC)
# platform-dependent code, such as the _s functions, just for tests
set(function_test_compile_flags "-D_CRT_SECURE_NO_WARNINGS -DGTEST_LINKED_AS_SHARED_LIBRARY=1")
else()
set(function_test_compile_flags "-std=gnu++14 -DGTEST_LINKED_AS_SHARED_LIBRARY=1")
set(performance_test_compile_flags "-std=gnu++14")
set(function_test_compile_flags "-std=gnu++17 -DGTEST_LINKED_AS_SHARED_LIBRARY=1")
set(performance_test_compile_flags "-std=gnu++17")
endif(MSVC)
set(fuzz_test_compile_flags "-g -O1 -fsanitize=fuzzer,address")

Expand Down

0 comments on commit 13d0812

Please sign in to comment.