Skip to content

Commit

Permalink
feat: update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Nov 22, 2023
1 parent 8a714c0 commit 6f645b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lanelet2_python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ foreach (PROJECT_PYTHON_SOURCE_FILE ${PROJECT_PYTHON_SOURCE_FILES_SRC})
set_target_properties(${PYTHON_MODULE_NAME} PROPERTIES
BUILD_WITH_INSTALL_RPATH TRUE
INSTALL_RPATH_USE_LINK_PATH TRUE
INSTALL_RPATH "${SKBUILD_NULL_DIR}")
INSTALL_RPATH "/usr/local/lanelet2")
endif ()
endforeach ()

Expand All @@ -44,6 +44,6 @@ if (DEFINED SKBUILD)
endforeach ()
else ()
# Save shared library dependencies to RPATH on Unix
install(TARGETS lanelet2_core lanelet2_io lanelet2_projection lanelet2_traffic_rules lanelet2_routing lanelet2_matching DESTINATION ${SKBUILD_NULL_DIR})
install(TARGETS lanelet2_core lanelet2_io lanelet2_projection lanelet2_traffic_rules lanelet2_routing lanelet2_matching DESTINATION "/usr/local/lanelet2")
endif ()
endif ()

0 comments on commit 6f645b7

Please sign in to comment.