Resinstate the command line taking priority over CMakeLists in setting CMAKE_INSTALL_RPATH

llvm-svn: 197825
This commit is contained in:
Artyom Skrobov 2013-12-20 18:13:12 +00:00
parent 32143e2bda
commit 01c1825b6c
1 changed files with 3 additions and 1 deletions

View File

@ -411,7 +411,9 @@ set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR} )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
set( CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
if( NOT DEFINED CMAKE_INSTALL_RPATH )
set( CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
endif( NOT DEFINED CMAKE_INSTALL_RPATH )
set(CMAKE_INCLUDE_CURRENT_DIR ON)