mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2024-11-16 19:30:26 +01:00
Merge pull request #69 from christian-rauch/cmake_pcl
add PCL dependency
This commit is contained in:
commit
d7708fff4a
@ -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
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user