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
Pipeline #12537 passed with stage
in 2 minutes and 20 seconds
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})
......
Markdown is supported
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