From 6e5206f7bb72afbdf85cf87d0090ef8a20ae5ea8 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Thu, 23 Jan 2020 15:32:58 +0100 Subject: [PATCH] [CMake] manually set .pc Requires This should be temporary, until either: - we find a proper solution in the submodule - we are sure that no project use the .pc anymore --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc8dc9c..05d8687 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,10 @@ INCLUDE_DIRECTORIES(SYSTEM ${PYTHON_INCLUDE_DIRS}) ADD_REQUIRED_DEPENDENCY(eigen3) ADD_PROJECT_DEPENDENCY(dynamic-graph 3.8.1 REQUIRED) +# manually append to the .pc dependencies for now +# ref https://github.com/jrl-umi3218/jrl-cmakemodules/issues/320 +_ADD_TO_LIST(_PKG_CONFIG_REQUIRES "dynamic-graph >= 3.8.1" ",") + PKG_CONFIG_APPEND_LIBS("dynamic-graph-python") SET(BOOST_COMPONENTS filesystem system thread program_options unit_test_framework python) -- GitLab