aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/CMakeLists.txt8
-rw-r--r--paludis/args/CMakeLists.txt3
-rw-r--r--paludis/repositories/e/CMakeLists.txt2
-rw-r--r--paludis/selinux/CMakeLists.txt1
-rw-r--r--src/clients/cave/CMakeLists.txt1
5 files changed, 15 insertions, 0 deletions
diff --git a/paludis/CMakeLists.txt b/paludis/CMakeLists.txt
index 14889788c..b63c4dbf0 100644
--- a/paludis/CMakeLists.txt
+++ b/paludis/CMakeLists.txt
@@ -240,6 +240,8 @@ if(ENABLE_PBINS)
add_dependencies(libpaludistarextras libpaludis_SE libpaludisutil_SE)
target_link_libraries(libpaludistarextras
PRIVATE
+ libpaludis
+ libpaludisutil
${LibArchive_LIBRARIES})
endif()
@@ -249,12 +251,18 @@ if(ENABLE_STRIPPER)
add_dependencies(libpaludisstripperextras libpaludis_SE libpaludisutil_SE)
target_link_libraries(libpaludisstripperextras
PRIVATE
+ libpaludis
+ libpaludisutil
${LibMagic_LIBRARIES})
endif()
paludis_add_library(libpaludissohooks_TEST
SHARED_LIBRARY
"${CMAKE_CURRENT_SOURCE_DIR}/sohooks_TEST.cc")
+target_link_libraries(libpaludissohooks_TEST
+ PRIVATE
+ libpaludis
+ libpaludisutil)
add_dependencies(libpaludissohooks_TEST libpaludis_SE libpaludisutil_SE)
foreach(test
diff --git a/paludis/args/CMakeLists.txt b/paludis/args/CMakeLists.txt
index e29472847..406621c75 100644
--- a/paludis/args/CMakeLists.txt
+++ b/paludis/args/CMakeLists.txt
@@ -14,6 +14,9 @@ paludis_add_library(libpaludisargs
"${CMAKE_CURRENT_SOURCE_DIR}/man.cc"
SE_SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/args_handler.se")
+target_link_libraries(libpaludisargs
+ PRIVATE
+ libpaludisutil)
paludis_add_test(args_TEST GTEST
LINK_LIBRARIES
diff --git a/paludis/repositories/e/CMakeLists.txt b/paludis/repositories/e/CMakeLists.txt
index 65a3d44a2..284b18480 100644
--- a/paludis/repositories/e/CMakeLists.txt
+++ b/paludis/repositories/e/CMakeLists.txt
@@ -12,6 +12,8 @@ if(ENABLE_XML)
${LIBXML2_INCLUDE_DIR})
target_link_libraries(libpaludiserepositoryxmlthings
PRIVATE
+ libpaludis
+ libpaludisutil
${LIBXML2_LIBRARIES})
endif()
diff --git a/paludis/selinux/CMakeLists.txt b/paludis/selinux/CMakeLists.txt
index 13d015197..32c609a81 100644
--- a/paludis/selinux/CMakeLists.txt
+++ b/paludis/selinux/CMakeLists.txt
@@ -4,6 +4,7 @@ paludis_add_library(libpaludisselinux
add_dependencies(libpaludisselinux libpaludisutil_SE)
target_link_libraries(libpaludisselinux
PRIVATE
+ libpaludisutil
${CMAKE_DL_LIBS})
install(FILES
diff --git a/src/clients/cave/CMakeLists.txt b/src/clients/cave/CMakeLists.txt
index 0b5f4d916..d5fdb0654 100644
--- a/src/clients/cave/CMakeLists.txt
+++ b/src/clients/cave/CMakeLists.txt
@@ -102,6 +102,7 @@ if(ENABLE_SEARCH_INDEX)
-DENABLE_SEARCH_INDEX=1)
target_link_libraries(libcavesearchextras
PRIVATE
+ libpaludisutil
${SQLite3_LIBRARIES})
endif()