Unverified Commit 7323c048 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #64 from nim65s/devel

CMake: set RPATH also for main lib
parents b0a77960 5b69cc26
Pipeline #21086 passed with stage
in 17 minutes and 28 seconds
......@@ -114,7 +114,8 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES}
target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
target_link_libraries(${PROJECT_NAME} PUBLIC crocoddyl::crocoddyl
ndcurves::ndcurves yaml-cpp)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX
INSTALL_RPATH "\$ORIGIN")
if(SUFFIX_SO_VERSION)
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment