From 983df15f34a7edea16b4a74519af3e90101da5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=8A=E5=B0=91?= Date: Fri, 26 Apr 2024 23:36:50 +0800 Subject: [PATCH] Remove two tests cxx_std_17 compile features. --- test/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1bb8b0d1..db09bca1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -20,7 +20,6 @@ add_executable(options_test main.cpp options.cpp) target_link_libraries(options_test cxxopts) -target_compile_features(options_test PRIVATE cxx_std_17) add_test(options options_test) # test if the targets are findable from the build directory @@ -52,7 +51,6 @@ add_test(add-subdirectory-test ${CMAKE_CTEST_COMMAND} add_executable(link_test link_a.cpp link_b.cpp) target_link_libraries(link_test cxxopts) -target_compile_features(link_test PRIVATE cxx_std_17) if(("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") AND ("${CMAKE_SYSTEM}" MATCHES "Linux")) add_executable(fuzzer fuzz.cpp)