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.
1 parent 4385162 commit 55b71cbCopy full SHA for 55b71cb
1 file changed
test/CMakeLists.txt
@@ -20,6 +20,13 @@ function (test_func test_suite_name)
20
endif ()
21
22
cc_cxxtest_add_test (NAME ${name} SRC ${tests} ${valgrand_args})
23
+
24
+ if ("${CMAKE_CXX_STANDARD}" STREQUAL "23")
25
+ # Visual Studio 2025 doesn't seem to properly detect C++23
26
+ target_compile_definitions(${name} PRIVATE
27
+ $<$<CXX_COMPILER_ID:MSVC>:_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS>
28
+ )
29
+ endif ()
30
endfunction ()
31
32
#################################################################
0 commit comments