From 96d1cb09540d4352bac59f33300242c94ff3a9f4 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Thu, 21 Apr 2016 14:55:38 +0200 Subject: [PATCH] Add boost components to pkg-config. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b0b3f92..9e91088b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,9 +58,7 @@ endif (EIGEN3_FOUND) # Required dependencies add_required_dependency("ccd >= 1.4") -set(BOOST_COMPONENTS - thread date_time filesystem system unit_test_framework REQUIRED - ) +set(BOOST_COMPONENTS thread date_time filesystem system unit_test_framework) search_for_boost() # Optional dependencies add_optional_dependency("octomap >= 1.6") @@ -181,6 +179,7 @@ add_subdirectory(src) add_subdirectory(test) pkg_config_append_libs("hpp-fcl") +PKG_CONFIG_APPEND_BOOST_LIBS(thread date_time filesystem system) config_files(include/hpp/fcl/config-fcl.hh) install(FILES ${PROJECT_BINARY_DIR}/include/hpp/fcl/config-fcl.hh -- GitLab