summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-01-05 05:03:27 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-01-05 05:03:27 +0000
commit256624afe38cf98624081538fe7ea23c2cacf4b3 (patch)
treede7a7f04abd374e301a1dca34d73d1163b9ca260 /CMakeScripts/DefineDependsandFlags.cmake
parentfix double construction of Button members (diff)
downloadinkscape-256624afe38cf98624081538fe7ea23c2cacf4b3.tar.gz
inkscape-256624afe38cf98624081538fe7ea23c2cacf4b3.zip
Fix linking for MacPorts
Diffstat (limited to 'CMakeScripts/DefineDependsandFlags.cmake')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 4f17c77cf..77ab91e3b 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -234,7 +234,8 @@ pkg_check_modules(
)
list(APPEND INKSCAPE_CXX_FLAGS ${GTK3_CFLAGS_OTHER})
list(APPEND INKSCAPE_INCS_SYS ${GTK3_INCLUDE_DIRS})
-list(APPEND INKSCAPE_LIBS ${GTK3_LDFLAGS})
+list(APPEND INKSCAPE_LIBS ${GTK3_LIBRARIES})
+link_directories(${GTK3_LIBRARY_DIRS})
pkg_check_modules(GDL_3_6 gdl-3.0>=3.6)
if("${GDL_3_6_FOUND}")