Commit b93aa15d authored by Jan Möbius's avatar Jan Möbius

Change rpath configuration for OpenMesh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@298 fdac6126-5c0c-442c-9429-916003d36597
parent 34a0eee6
......@@ -102,8 +102,9 @@ macro (acg_set_target_props target)
elseif (APPLE AND NOT ACG_PROJECT_MACOS_BUNDLE)
set_target_properties (
${target} PROPERTIES
INSTALL_NAME_DIR "@executable_path/../lib/${CMAKE_PROJECT_NAME}"
BUILD_WITH_INSTALL_RPATH 1
#INSTALL_NAME_DIR "@executable_path/../lib/${CMAKE_PROJECT_NAME}"
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_PROJECT_NAME}"
# BUILD_WITH_INSTALL_RPATH 1
SKIP_BUILD_RPATH 0
)
elseif (NOT APPLE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment