Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
dynamic-graph
Commits
74557fd5
Unverified
Commit
74557fd5
authored
Dec 03, 2020
by
Guilhem Saurel
Committed by
GitHub
Dec 03, 2020
Browse files
Merge pull request #83 from nim65s/devel
[CMake] set RPATH for plugins
parents
2226e694
d73e277d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
74557fd5
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
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment