Skip to content
Snippets Groups Projects
Unverified Commit 74557fd5 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #83 from nim65s/devel

[CMake] set RPATH for plugins
parents 2226e694 d73e277d
No related branches found
No related tags found
No related merge requests found
Pipeline #12537 passed
SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
SET(plugins
traces/tracer
traces/tracer-real-time
......@@ -12,6 +14,7 @@ FOREACH(plugin ${plugins})
IF(SUFFIX_SO_VERSION)
SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
ENDIF(SUFFIX_SO_VERSION)
SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES INSTALL_RPATH $ORIGIN)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${PROJECT_NAME} ${${LIBRARY_NAME}_deps})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment