From 9bcb4e36150e577ad9827290ce8b1bf53b1f9606 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Mon, 3 Feb 2014 17:46:35 -0800 Subject: [PATCH] avoid using absolute paths in extra files fixes #9 --- cmake/cmake_modules-extras.cmake.installspace.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cmake_modules-extras.cmake.installspace.in b/cmake/cmake_modules-extras.cmake.installspace.in index a4cd265..98d180a 100644 --- a/cmake/cmake_modules-extras.cmake.installspace.in +++ b/cmake/cmake_modules-extras.cmake.installspace.in @@ -1,2 +1,2 @@ # Prepend the installed cmake modules to the cmake module path -list(INSERT CMAKE_MODULE_PATH 0 @CMAKE_INSTALL_PREFIX@/@CATKIN_PACKAGE_SHARE_DESTINATION@/cmake/Modules) +list(INSERT CMAKE_MODULE_PATH 0 ${cmake_modules_DIR}/../../../@CATKIN_PACKAGE_SHARE_DESTINATION@/cmake/Modules)