Skip to content

Commit

Permalink
link OSMScoutClient with Marisa library, add it to includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed Dec 11, 2023
1 parent b307c36 commit c15ccde
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 c15ccde

Please sign in to comment.