forked from OSchip/llvm-project
Resinstate the command line taking priority over CMakeLists in setting CMAKE_INSTALL_RPATH
llvm-svn: 197825
This commit is contained in:
parent
32143e2bda
commit
01c1825b6c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue