Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-08-24 00:19:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-24 00:19:08 +0400
commit8470418b918d7112e72f98d406a47b4ab1f15d4f (patch)
treedb42e318ff8f937314708e9f84b1a5cff034bb19 /CMakeLists.txt
parent9a9513a9f09f5524235e202a095b04863a07a52b (diff)
cmake: skip rpath (paths to libs) for portable distrobution
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a544cbfa05..6b8453139d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -274,6 +274,11 @@ endif()
TEST_SSE_SUPPORT()
+# don't store paths to libs for portable distrobution
+if(WITH_INSTALL_PORTABLE)
+ set(CMAKE_SKIP_BUILD_RPATH TRUE)
+endif()
+
#-----------------------------------------------------------------------------
# Initialize un-cached vars, avoid unused warning