Skip to content

Commit

Permalink
Merge pull request #770 from gadomski/yet-more-osx-linking
Browse files Browse the repository at this point in the history
Use @loader_path/../lib
  • Loading branch information
hobu committed Feb 22, 2015
2 parents 3a14797 + 037214e commit 58f603e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/macros.cmake
Expand Up @@ -118,7 +118,7 @@ macro(PDAL_ADD_PLUGIN _name _type _shortname)
LIBRARY DESTINATION ${PDAL_LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${PDAL_LIB_INSTALL_DIR})
if (APPLE)
set_target_properties(${${_name}} PROPERTIES INSTALL_NAME_DIR "@loader_path/")
set_target_properties(${${_name}} PROPERTIES INSTALL_NAME_DIR "@loader_path/../lib")
endif()
endmacro(PDAL_ADD_PLUGIN)

Expand Down

0 comments on commit 58f603e

Please sign in to comment.