dlr1516/falkolib

Compiling in another project

Opened this issue · 1 comments

I found that in order to use falkolib in my own project, I needed to modify it to install the mcqd headers with the following lines in CMakeLists.txt:

FILE(GLOB headers_mcqd "${CMAKE_CURRENT_SOURCE_DIR}/EXTERNAL/mcqd/*.h")
INSTALL(FILES ${headers_mcqd} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/mcqd)

Note that I installed it locally as part of a ROS workspace using catkin build. Without this, trying to compile a project that includes CCDAMatcher.h complains that it can't find <mcqd/mcqd.h>.

Thank you for the issue. I have seen your (right) suggestion only now and I fixed it.