summaryrefslogtreecommitdiff
path: root/dev-python/shiboken/files/rpath.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/shiboken/files/rpath.cmake')
-rw-r--r--dev-python/shiboken/files/rpath.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/shiboken/files/rpath.cmake b/dev-python/shiboken/files/rpath.cmake
new file mode 100644
index 000000000000..b896c8789185
--- /dev/null
+++ b/dev-python/shiboken/files/rpath.cmake
@@ -0,0 +1,10 @@
+# use, i.e. don't skip the full RPATH for the build tree
+SET(CMAKE_SKIP_BUILD_RPATH FALSE)
+
+# when building, don't use the install RPATH already
+# (but later on when installing)
+SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+
+# add the automatically determined parts of the RPATH
+# which point to directories outside the build tree to the install RPATH
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)