diff --git a/packages/livestatus/src/CMakeLists.txt b/packages/livestatus/src/CMakeLists.txt index 949ec28fba6..d4727f73cf7 100644 --- a/packages/livestatus/src/CMakeLists.txt +++ b/packages/livestatus/src/CMakeLists.txt @@ -285,7 +285,6 @@ target_link_libraries( PRIVATE pango-1.0 # rrdtool stuff PRIVATE pangocairo-1.0) # rrdtool stuff too -target_compile_features(livestatus PUBLIC cxx_std_17) set_target_properties(livestatus PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR}) diff --git a/packages/livestatus/test/CMakeLists.txt b/packages/livestatus/test/CMakeLists.txt index 98c7e286dff..d0e5a041ab0 100644 --- a/packages/livestatus/test/CMakeLists.txt +++ b/packages/livestatus/test/CMakeLists.txt @@ -40,7 +40,6 @@ add_executable( test_TrialManager.cc) target_include_directories(test PUBLIC ../include ${googletest_ext_include}) -target_compile_features(test PRIVATE cxx_std_17) target_link_options(test PRIVATE -rdynamic -static-libstdc++) target_link_libraries(test PRIVATE livestatus pthread stdc++ GTest::gtest_main) diff --git a/packages/neb/src/CMakeLists.txt b/packages/neb/src/CMakeLists.txt index 832d2fdf067..a877e72ddd0 100644 --- a/packages/neb/src/CMakeLists.txt +++ b/packages/neb/src/CMakeLists.txt @@ -69,7 +69,6 @@ target_link_libraries( PRIVATE -static-libstdc++ -lpthread PUBLIC ${livestatus_so}) -target_compile_features(neb PUBLIC cxx_std_17) set_target_properties(neb PROPERTIES NO_SONAME 1) add_custom_target(build DEPENDS neb) diff --git a/packages/neb/test/CMakeLists.txt b/packages/neb/test/CMakeLists.txt index 4470a5dcf3f..5f72d4a67f9 100644 --- a/packages/neb/test/CMakeLists.txt +++ b/packages/neb/test/CMakeLists.txt @@ -37,7 +37,6 @@ target_link_libraries(NagiosMockup PRIVATE neb pthread stdc++) add_dependencies(test NagiosMockup) target_include_directories(test PUBLIC ../include ${googletest_ext_include}) -target_compile_features(test PRIVATE cxx_std_17) target_link_options(test PRIVATE -rdynamic -static-libstdc++) target_link_libraries(test PRIVATE neb pthread stdc++ GTest::gtest_main) diff --git a/packages/unixcat/src/CMakeLists.txt b/packages/unixcat/src/CMakeLists.txt index 6af46bbde92..d7a912a94a6 100644 --- a/packages/unixcat/src/CMakeLists.txt +++ b/packages/unixcat/src/CMakeLists.txt @@ -8,6 +8,4 @@ target_include_directories(unixcat PRIVATE ${lib_livestatus_include}) target_link_libraries(unixcat PRIVATE pthread) -target_compile_features(unixcat PUBLIC cxx_std_17) - add_custom_target(build DEPENDS unixcat)