greenhouse/CMakeLists.txt

25 lines
735 B
CMake
Raw Normal View History

2013-06-26 15:41:31 -07:00
cmake_minimum_required(VERSION 2.8.3)
project(pcl_conversions)
2013-07-12 14:10:06 -07:00
find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs std_msgs)
2013-06-26 15:41:31 -07:00
find_package(PCL REQUIRED QUIET COMPONENTS common)
2013-06-26 15:41:31 -07:00
include_directories(include ${catkin_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS})
2013-06-26 15:41:31 -07:00
catkin_package(
INCLUDE_DIRS include ${PCL_COMMON_INCLUDE_DIRS}
2013-06-26 15:41:31 -07:00
CATKIN_DEPENDS sensor_msgs std_msgs
)
# Mark cpp header files for installation
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE
)
# Add gtest based cpp test target
2013-06-26 17:08:00 -07:00
catkin_add_gtest(${PROJECT_NAME}-test test/test_pcl_conversions.cpp)
target_link_libraries(${PROJECT_NAME}-test ${catkin_LIBRARIES})