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 91298a7 commit 825e6d6Copy full SHA for 825e6d6
tests/CMakeLists.txt
@@ -66,15 +66,16 @@ endfunction()
66
67
add_executable(libut_tests_17 ${cxx_17_files})
68
add_executable(libut_tests_20 ${cxx_20_files})
69
-add_executable(libut_tests_23 ${cxx_23_files})
70
71
target_compile_features(libut_tests_17 PUBLIC cxx_std_17)
72
target_compile_features(libut_tests_20 PUBLIC cxx_std_20)
73
-target_compile_features(libut_tests_23 PUBLIC cxx_std_23)
74
75
setup_target(libut_tests_17)
76
setup_target(libut_tests_20)
+
77
if(HAS_CXX_23)
+ add_executable(libut_tests_23 ${cxx_23_files})
78
+ target_compile_features(libut_tests_23 PUBLIC cxx_std_23)
79
setup_target(libut_tests_23)
80
if(NOT MSVC)
81
target_link_libraries(libut_tests_23 PUBLIC stdc++exp)
0 commit comments