make find_package REQUIRED
This commit is contained in:
parent
e9eca96a63
commit
aa571942dc
|
@ -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})
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue