[Liblas-commits] laszip: add install_name for OSX
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Jan 5 22:35:14 EST 2011
details: http://hg.liblas.orglaszip/rev/880013a5e96a
changeset: 118:880013a5e96a
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Jan 05 21:35:08 2011 -0600
description:
add install_name for OSX
diffstat:
src/CMakeLists.txt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 057be33cd6db -r 880013a5e96a src/CMakeLists.txt
--- a/src/CMakeLists.txt Wed Jan 05 21:08:32 2011 -0600
+++ b/src/CMakeLists.txt Wed Jan 05 21:35:08 2011 -0600
@@ -78,6 +78,13 @@
###############################################################################
# Targets installation
+if (APPLE)
+ set_target_properties(
+ ${LASZIP_LIB_NAME}
+ PROPERTIES
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+endif()
+
install(TARGETS ${LASZIP_LIB_NAME}
RUNTIME DESTINATION ${LASZIP_BIN_DIR}
LIBRARY DESTINATION ${LASZIP_LIB_DIR}
More information about the Liblas-commits
mailing list