diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-24 00:19:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-24 00:19:08 +0400 |
commit | 8470418b918d7112e72f98d406a47b4ab1f15d4f (patch) | |
tree | db42e318ff8f937314708e9f84b1a5cff034bb19 | |
parent | 9a9513a9f09f5524235e202a095b04863a07a52b (diff) |
cmake: skip rpath (paths to libs) for portable distrobution
-rw-r--r-- | CMakeLists.txt | 5 |
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 |