From c15ccdee9467121e19fb5b00598424ce4effa380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Karas?= Date: Mon, 11 Dec 2023 11:44:11 +0100 Subject: [PATCH] link OSMScoutClient with Marisa library, add it to includes --- libosmscout-client/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libosmscout-client/CMakeLists.txt b/libosmscout-client/CMakeLists.txt index 9d5a36e2d..6469ea9da 100644 --- a/libosmscout-client/CMakeLists.txt +++ b/libosmscout-client/CMakeLists.txt @@ -52,6 +52,11 @@ if(OpenMP_CXX_FOUND) target_link_libraries(OSMScoutClient OpenMP::OpenMP_CXX) endif() +if(MARISA_FOUND) + target_include_directories(OSMScoutClient PUBLIC ${MARISA_INCLUDE_DIRS}) + target_link_libraries(OSMScoutClient ${MARISA_LIBRARIES}) +endif() + if(APPLE AND OSMSCOUT_BUILD_FRAMEWORKS) set_target_properties(OSMScoutClient PROPERTIES FRAMEWORK TRUE