summaryrefslogtreecommitdiff
path: root/dev-python/pyside/files/rpath.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyside/files/rpath.cmake')
-rw-r--r--dev-python/pyside/files/rpath.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/pyside/files/rpath.cmake b/dev-python/pyside/files/rpath.cmake
new file mode 100644
index 00000000000..b896c878918
--- /dev/null
+++ b/dev-python/pyside/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)