Ticket #55346: install_name.patch
File install_name.patch, 583 bytes (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
cmake/macros.cmake
Unscrew the install_name
old new 70 70 RUNTIME DESTINATION ${LASZIP_BIN_INSTALL_DIR} 71 71 LIBRARY DESTINATION ${LASZIP_LIB_INSTALL_DIR} 72 72 ARCHIVE DESTINATION ${LASZIP_LIB_INSTALL_DIR}) 73 if (APPLE)74 set_target_properties(${_name} PROPERTIES INSTALL_NAME_DIR75 "@executable_path/../lib")76 endif()77 73 endmacro(LASZIP_ADD_LIBRARY) 78 74 79 75 ###############################################################################