Merge pull request #69 from christian-rauch/cmake_pcl

add PCL dependency
This commit is contained in:
danielgehrig18 2021-01-27 16:51:42 +01:00 committed by GitHub
commit d7708fff4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,11 @@ set(CMAKE_CXX_STANDARD 14)
# See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html # See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
catkin_python_setup() catkin_python_setup()
find_package(PCL REQUIRED)
find_package(dvs_msgs REQUIRED)
find_package(minkindr_conversions REQUIRED)
set(HEADERS set(HEADERS
include/esim/visualization/publisher_interface.hpp include/esim/visualization/publisher_interface.hpp
include/esim/visualization/ros_utils.hpp include/esim/visualization/ros_utils.hpp

View File

@ -4,6 +4,7 @@ project(imp_opengl_renderer)
find_package(catkin_simple REQUIRED) find_package(catkin_simple REQUIRED)
find_package(OpenCV REQUIRED) find_package(OpenCV REQUIRED)
find_package(glfw3 REQUIRED) find_package(glfw3 REQUIRED)
find_package(assimp REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS}) include_directories(${OpenCV_INCLUDE_DIRS})
catkin_simple() catkin_simple()
@ -39,7 +40,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${INCLUDE_DIR})
target_include_directories(${PROJECT_NAME} PRIVATE ${GLAD_DIR}/include) target_include_directories(${PROJECT_NAME} PRIVATE ${GLAD_DIR}/include)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} ${CMAKE_DL_LIBS} glfw glad) target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} ${CMAKE_DL_LIBS} glfw glad assimp)
cs_install() cs_install()
cs_export() cs_export()