From 4da46f5e1e0cea12780fe07abd9e05ce08b4ad75 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Fri, 13 Dec 2013 01:11:19 +0000 Subject: [PATCH] fixed RPATH git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1052 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f1803070..1159d0bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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