cmake: skip rpath (paths to libs) for portable distrobution

This commit is contained in:
Campbell Barton 2011-08-23 20:19:08 +00:00
parent 9a9513a9f0
commit 8470418b91

@ -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