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

@@ -42,4 +42,8 @@ target_link_libraries(Import ${Import_LIBS})
set_target_properties(Import PROPERTIES SUFFIX ".pyd")
if(UNIX)
set_target_properties(Import PROPERTIES INSTALL_RPATH ${INSTALL_RPATH})
endif(UNIX)
install(TARGETS Import DESTINATION lib)