make find_package REQUIRED

This commit is contained in:
Dirk Thomas 2012-06-11 03:19:40 +00:00
parent e9eca96a63
commit aa571942dc
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
project(roslib)
find_package(ROS COMPONENTS catkin rospack rosunit)
find_package(catkin REQUIRED)
find_package(ROS REQUIRED COMPONENTS rospack rosunit)
include_directories(include ${Boost_INCLUDE_DIRS} ${ROS_INCLUDE_DIRS})

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8)
project(rosunit)
find_package(catkin)
find_package(catkin REQUIRED)
catkin_project(${PROJECT_NAME}
CFG_EXTRAS ${PROJECT_NAME}-extras.cmake
)