Skip to content

Commit

Permalink
Removed superfluous expected compiler feature.
Browse files Browse the repository at this point in the history
We already require C++20 globally.

Change-Id: Iffecfa2b1e39b167a57253e9b662f787efc11d96
  • Loading branch information
spt29 committed Oct 19, 2023
1 parent 294ae96 commit 28fafd0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/livestatus/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down
1 change: 0 additions & 1 deletion packages/livestatus/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion packages/neb/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion packages/neb/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions packages/unixcat/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 28fafd0

Please sign in to comment.