0000519: Patch to set proper RPATH's for system wide installation on Linux

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5270 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-12-11 12:36:36 +00:00
parent de66587251
commit bde949f7e4
74 changed files with 195 additions and 129 deletions

View File

@@ -38,6 +38,7 @@ elseif(MINGW)
else(MSVC)
set_target_properties(Assembly PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Assembly)
set_target_properties(Assembly PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(Assembly PROPERTIES INSTALL_RPATH ${INSTALL_RPATH})
endif(MSVC)
install(TARGETS Assembly DESTINATION lib)
INSTALL(TARGETS Assembly DESTINATION lib)