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 513296cd04
commit 66a5d808b6

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)