From 4fd195bd369920eaf243d049e5588d2739a1837d Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Thu, 5 Sep 2013 00:56:28 +0900 Subject: [PATCH] Fix plugindir in dynamic-graph.pc --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71660a05..4653c1e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,13 +49,11 @@ GENERATE_CONFIGURATION_HEADER( # FIXME: to be changed into lib/dynamic-graph # to avoid name collision when installing dynamic-graph in /usr. -SET(PLUGINDIR "${CMAKE_INSTALL_LIBDIR}/plugin") +SET(PLUGINDIR "${CMAKE_INSTALL_FULL_LIBDIR}/plugin") # Add extra keys to pkg-config file to export the location of the # plug-in directory in a robust manner. -SET(PKG_CONFIG_EXTRA - "plugindirname=${PLUGINDIR} -plugindir=${CMAKE_INSTALL_PREFIX}/${PLUGINDIR}") +SET(PKG_CONFIG_EXTRA "plugindir=${PLUGINDIR}") # Add dependency toward dynamic graph library in pkg-config file. PKG_CONFIG_APPEND_LIBS("dynamic-graph") -- GitLab