Permalink
Browse files

[Config] Use rpath for OS X application bundles (thanks to Ceylo)

  • Loading branch information...
Bromeon committed Jun 11, 2017
1 parent 21e831f commit 479f3b944c6acea0e99b6fd372eb248c2e3d2881
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/CMakeLists.txt
View
@@ -91,3 +91,9 @@ else()
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
endif()
if (APPLE)
set_target_properties(${THOR_LIB} PROPERTIES
BUILD_WITH_INSTALL_RPATH 1
INSTALL_NAME_DIR "@rpath")
endif()

0 comments on commit 479f3b9

Please sign in to comment.