From 8470418b918d7112e72f98d406a47b4ab1f15d4f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 23 Aug 2011 20:19:08 +0000 Subject: cmake: skip rpath (paths to libs) for portable distrobution --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3