Skip to content

Commit

Permalink
Merge pull request uzh-rpg#69 from christian-rauch/cmake_pcl
Browse files Browse the repository at this point in the history
add PCL dependency
  • Loading branch information
danielgehrig18 authored Jan 27, 2021
2 parents ada6795 + 5cfcb6f commit d7708ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions event_camera_simulator/esim_visualization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ set(CMAKE_CXX_STANDARD 14)
# See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
catkin_python_setup()

find_package(PCL REQUIRED)

find_package(dvs_msgs REQUIRED)
find_package(minkindr_conversions REQUIRED)

set(HEADERS
include/esim/visualization/publisher_interface.hpp
include/esim/visualization/ros_utils.hpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project(imp_opengl_renderer)
find_package(catkin_simple REQUIRED)
find_package(OpenCV REQUIRED)
find_package(glfw3 REQUIRED)
find_package(assimp REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
catkin_simple()

Expand Down Expand Up @@ -39,7 +40,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${INCLUDE_DIR})
target_include_directories(${PROJECT_NAME} PRIVATE ${GLAD_DIR}/include)
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_export()

0 comments on commit d7708ff

Please sign in to comment.