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  
    7070        RUNTIME DESTINATION ${LASZIP_BIN_INSTALL_DIR}
    7171        LIBRARY DESTINATION ${LASZIP_LIB_INSTALL_DIR}
    7272        ARCHIVE DESTINATION ${LASZIP_LIB_INSTALL_DIR})
    73     if (APPLE)
    74         set_target_properties(${_name} PROPERTIES INSTALL_NAME_DIR
    75             "@executable_path/../lib")
    76     endif()
    7773endmacro(LASZIP_ADD_LIBRARY)
    7874
    7975###############################################################################