Commit 96d1cb09 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add boost components to pkg-config.

parent 594c4da0
...@@ -58,9 +58,7 @@ endif (EIGEN3_FOUND) ...@@ -58,9 +58,7 @@ endif (EIGEN3_FOUND)
# Required dependencies # Required dependencies
add_required_dependency("ccd >= 1.4") add_required_dependency("ccd >= 1.4")
set(BOOST_COMPONENTS set(BOOST_COMPONENTS thread date_time filesystem system unit_test_framework)
thread date_time filesystem system unit_test_framework REQUIRED
)
search_for_boost() search_for_boost()
# Optional dependencies # Optional dependencies
add_optional_dependency("octomap >= 1.6") add_optional_dependency("octomap >= 1.6")
...@@ -181,6 +179,7 @@ add_subdirectory(src) ...@@ -181,6 +179,7 @@ add_subdirectory(src)
add_subdirectory(test) add_subdirectory(test)
pkg_config_append_libs("hpp-fcl") pkg_config_append_libs("hpp-fcl")
PKG_CONFIG_APPEND_BOOST_LIBS(thread date_time filesystem system)
config_files(include/hpp/fcl/config-fcl.hh) config_files(include/hpp/fcl/config-fcl.hh)
install(FILES ${PROJECT_BINARY_DIR}/include/hpp/fcl/config-fcl.hh install(FILES ${PROJECT_BINARY_DIR}/include/hpp/fcl/config-fcl.hh
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment