Skip to content

Commit

Permalink
Merge pull request #1540 from Karry/client-marisa
Browse files Browse the repository at this point in the history
link OSMScoutClient with Marisa library, add it to includes
  • Loading branch information
Framstag authored Dec 16, 2023
2 parents ebb25cd + c15ccde commit 51d962c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libosmscout-client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51d962c

Please sign in to comment.