ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
Hi,
I had to do something like that for compiling with bfl:
find_package(PkgConfig)
pkg_check_modules(BFL REQUIRED bfl)
include_directories(${BFL_INCLUDE_DIRS})
message("BFL include dirs:" ${BFL_INCLUDE_DIRS})
message("BFL library dirs:" ${BFL_LIBRARY_DIRS})
link_directories(${BFL_LIBRARY_DIRS})
Then don't forget the:
target_link_libraries(your_executable
${BFL_LIBRARIES}
)
Hope this helps.