aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2018-11-20 22:15:13 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2018-12-22 17:15:07 +0100
commitb00405ec77191c022a91829a1ed69af42ca33981 (patch)
tree50ea49be9d72a7c92bf68ab452adda764aa792e8 /paludis
parent1606b0eecc9eb8e0c60fe34ff8d3671563a9ad35 (diff)
downloadpaludis-b00405ec77191c022a91829a1ed69af42ca33981.tar.gz
paludis-b00405ec77191c022a91829a1ed69af42ca33981.tar.xz
build: Generate an import target for Jansson and use it
Diffstat (limited to 'paludis')
-rw-r--r--paludis/repositories/gemcutter/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/paludis/repositories/gemcutter/CMakeLists.txt b/paludis/repositories/gemcutter/CMakeLists.txt
index dff65d1..a3ed4a4 100644
--- a/paludis/repositories/gemcutter/CMakeLists.txt
+++ b/paludis/repositories/gemcutter/CMakeLists.txt
@@ -13,12 +13,9 @@ add_dependencies(libpaludisgemcutterrepository libpaludisutil_SE)
paludis_add_library(libpaludisgemcutterrepositoryjsonthings
json_things.cc)
-target_include_directories(libpaludisgemcutterrepositoryjsonthings
- PRIVATE
- ${Jansson_INCLUDE_DIRS})
target_link_libraries(libpaludisgemcutterrepositoryjsonthings
PRIVATE
- ${Jansson_LIBRARIES})
+ Jansson::Jansson)
install(TARGETS
libpaludisgemcutterrepositoryjsonthings