Skip to content

Commit 4fd195b

Browse files
Fix plugindir in dynamic-graph.pc
1 parent fa55373 commit 4fd195b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,11 @@ GENERATE_CONFIGURATION_HEADER(
4949

5050
# FIXME: to be changed into lib/dynamic-graph
5151
# to avoid name collision when installing dynamic-graph in /usr.
52-
SET(PLUGINDIR "${CMAKE_INSTALL_LIBDIR}/plugin")
52+
SET(PLUGINDIR "${CMAKE_INSTALL_FULL_LIBDIR}/plugin")
5353

5454
# Add extra keys to pkg-config file to export the location of the
5555
# plug-in directory in a robust manner.
56-
SET(PKG_CONFIG_EXTRA
57-
"plugindirname=${PLUGINDIR}
58-
plugindir=${CMAKE_INSTALL_PREFIX}/${PLUGINDIR}")
56+
SET(PKG_CONFIG_EXTRA "plugindir=${PLUGINDIR}")
5957

6058
# Add dependency toward dynamic graph library in pkg-config file.
6159
PKG_CONFIG_APPEND_LIBS("dynamic-graph")

0 commit comments

Comments
 (0)