diff --git a/cmake/genmsg-extras.cmake.em b/cmake/genmsg-extras.cmake.em index b7370f4..7e2a7ef 100644 --- a/cmake/genmsg-extras.cmake.em +++ b/cmake/genmsg-extras.cmake.em @@ -8,6 +8,9 @@ set(_GENMSG_EXTRAS_INCLUDED_ TRUE) # set destination for langs set(GENMSG_LANGS_DESTINATION "etc/ros/genmsg") +# We need various macros and variables that are provided by catkin +find_package(catkin REQUIRED) + @[if DEVELSPACE]@ # bin dir variables in develspace set(GENMSG_CHECK_DEPS_SCRIPT "@(CMAKE_CURRENT_SOURCE_DIR)/scripts/genmsg_check_deps.py") diff --git a/package.xml b/package.xml index f1a4d2b..5e155c7 100644 --- a/package.xml +++ b/package.xml @@ -17,6 +17,7 @@ Ken Conley catkin + catkin