Skip to content
Snippets Groups Projects
Commit 74ba602a authored by vmayoral's avatar vmayoral
Browse files

cmake-modules: recipe added.

A common repository for CMake Modules which are not distributed with
CMake but are commonly used by ROS packages.
parent b924c74c
No related branches found
No related tags found
No related merge requests found
From 47c18f75d6a3950836d64b77d7e415ecca3755e9 Mon Sep 17 00:00:00 2001
From: vmayoral <v.mayoralv@gmail.com>
Date: Fri, 20 Sep 2013 13:22:53 +0200
Subject: [PATCH] Fix the path added to CMAKE_MODULE_PATH.
@CMAKE_INSTALL_PREFIX@/@CATKIN_PACKAGE_SHARE_DESTINATION@ have been
replaced with "${cmake_modules_DIR}/.." to make the module work.
---
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..0701f02 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}/../cmake/Modules)
--
1.7.9.5
DESCRIPTION = "A common repository for CMake Modules which are not \
distributed with CMake but are commonly used by ROS packages."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "988ce2ea80d375eebe36984c39b948d4"
SRC_URI[sha256sum] = "5ba9d987fad3ee781ca1b85af7cc07567b8f955346b4beb2c0b5140cf10b2a16"
SRC_URI += "file://0001-Fix-the-path-added-to-CMAKE_MODULE_PATH.patch;striplevel=1;name=patch"
SRC_URI[patch.md5sum] = "eba3a7eda081516f2113d6db70e881df"
SRC_URI[patch.sha256sum] = "164a8e9d8595856be6a1523fa9ecc0c329961bb89bde2045fefc21306aae6de4"
S = "${WORKDIR}/${ROS_SP}"
inherit catkin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment