projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a205d
)
fixes install name id on OSX builds (fixes issue 367)
author
Antonin Descampe
<antonin@gmail.com>
Fri, 19 Sep 2014 09:30:12 +0000
(09:30 +0000)
committer
Antonin Descampe
<antonin@gmail.com>
Fri, 19 Sep 2014 09:30:12 +0000
(09:30 +0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 229da1e13b0bdc67787acd0b8b43202c2d648da4..5f83362b7da6b44fe9e87be75c17b6955506a48c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-146,6
+146,10
@@
if(NOT OPENJPEG_INSTALL_PACKAGE_DIR)
set(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_LIB_DIR}/${OPENJPEG_INSTALL_SUBDIR}")
endif()
+if (APPLE)
+ list(APPEND OPENJPEG_LIBRARY_PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_LIB_DIR}")
+endif()
+
#-----------------------------------------------------------------------------
# Big endian test:
include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)