aboutsummaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2016-12-11 14:20:21 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-11 09:21:14 -0800
commit8b5277d964baf2c7216187418ace9a981d068daf (patch)
tree55b10eb1bd6b1452ecb71477e6840f644408cfbd /src/clients
parentda14ce20bb475e2c8ef43ccbd68cf3f7602639cd (diff)
downloadpaludis-8b5277d964baf2c7216187418ace9a981d068daf.tar.gz
paludis-8b5277d964baf2c7216187418ace9a981d068daf.tar.xz
build: Export -DENABLE_SEARCH_INDEX for the right target
It is used in src/clients/cave/search_extras_handle.{cc,hh} which is built by libcave, not libcavesearchextras.
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/cave/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/CMakeLists.txt b/src/clients/cave/CMakeLists.txt
index 1ab213b47..35b4197f9 100644
--- a/src/clients/cave/CMakeLists.txt
+++ b/src/clients/cave/CMakeLists.txt
@@ -96,7 +96,7 @@ target_link_libraries(libcavematchextras
if(ENABLE_SEARCH_INDEX)
paludis_add_library(libcavesearchextras
"${CMAKE_CURRENT_SOURCE_DIR}/search_extras.cc")
- target_compile_definitions(libcavesearchextras
+ target_compile_definitions(libcave
PRIVATE
-DENABLE_SEARCH_INDEX=1)
target_link_libraries(libcavesearchextras