Skip to content

Commit

Permalink
Extend hints to find odrSprial (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
berndgassmann authored Oct 4, 2022
1 parent 0ec3ec4 commit cc9618f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ad_map_opendrive_reader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ endif()
#odrSpiral
find_library(ODRSPIRAL_LIBRARIES
NAMES odrSpiral
HINTS ${CMAKE_CURRENT_BINARY_DIR}/../../dependencies/odrSpiral/lib
HINTS
${CMAKE_CURRENT_BINARY_DIR}/../../dependencies/odrSpiral/lib
${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/odrSpiral/lib
)
find_path(ODRSPIRAL_INCLUDE_DIR
NAMES odrSpiral.h
HINTS ${CMAKE_CURRENT_BINARY_DIR}/../../dependencies/odrSpiral/include
HINTS
${CMAKE_CURRENT_BINARY_DIR}/../../dependencies/odrSpiral/include
${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/odrSpiral/include
)
list(APPEND ad_map_opendrive_reader_TARGET_INCLUDE_DIRECTORIES ${ODRSPIRAL_INCLUDE_DIR})
list(APPEND ad_map_opendrive_reader_TARGET_LINK_LIBRARIES ${ODRSPIRAL_LIBRARIES})
Expand Down

0 comments on commit cc9618f

Please sign in to comment.