fixed RPATH

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1052 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2013-12-13 01:11:19 +00:00
parent 804c9162d0
commit 4da46f5e1e

View File

@@ -104,7 +104,7 @@ SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
# the RPATH to be used when installing
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_PREFIX}-${RTABMAP_MAJOR_VERSION}.${RTABMAP_MINOR_VERSION}")
# add the automatically determined parts of the RPATH
# which point to directories outside the build tree to the install RPATH