projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685b0d9
)
Use an install name dir of @executable_path/../lib instead of @rpath.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Feb 2014 21:51:28 +0000
(21:51 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Feb 2014 21:51:28 +0000
(21:51 +0000)
Using @executable_path/../lib matches what we have on Makefiles and works
with older versions of OS X too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202302
91177308
-0d34-0410-b5e6-
96231b3b80d8
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2ce214aabfcd25744b5396ea14103bf16a7c3194..6c16afaeb59a031296056209addf35ae45b1b197 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-440,7
+440,7
@@
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_NAME_DIR "@
executable_path/../lib
")
set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
else(UNIX)
if(NOT DEFINED CMAKE_INSTALL_RPATH)