summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c0eb3e)
raw | patch | inline | side by side (parent: 8c0eb3e)
author | Rafael Espindola <rafael.espindola@gmail.com> | |
Sat, 22 Feb 2014 12:36:28 +0000 (12:36 +0000) | ||
committer | Rafael Espindola <rafael.espindola@gmail.com> | |
Sat, 22 Feb 2014 12:36:28 +0000 (12:36 +0000) |
This reverts commit r201921.
This should bring the polly bots back. I will try to build it locally to
understand how cmake was setting the rpath of LLVMPolly.so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201934 91177308-0d34-0410-b5e6-96231b3b80d8
This should bring the polly bots back. I will try to build it locally to
understand how cmake was setting the rpath of LLVMPolly.so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201934 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21c64b0b926c5e09063270669141534f2c8773ed..cd8b363f7a3d015421aad055453a2ad62739e88c 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
-set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
-if (APPLE)
- set(CMAKE_INSTALL_NAME_DIR "@rpath")
- set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
-else(UNIX)
- set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
-endif()
+if( NOT DEFINED CMAKE_INSTALL_RPATH )
+ set( CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
+endif( NOT DEFINED CMAKE_INSTALL_RPATH )
set(CMAKE_INCLUDE_CURRENT_DIR ON)