summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-01-06 01:26:41 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-01-06 01:26:41 +0000
commit4646056f767afb99c34cf58f1dc34a9f56870c52 (patch)
tree96b6ff687927bb8cea2751185c57cfcbeed4039b /CMakeScripts
parentAdd documentation to toolbox code (diff)
parentFix linking for MacPorts (diff)
downloadinkscape-4646056f767afb99c34cf58f1dc34a9f56870c52.tar.gz
inkscape-4646056f767afb99c34cf58f1dc34a9f56870c52.zip
Merge branch 'master' of gitlab.com:inkscape/inkscape
Diffstat (limited to 'CMakeScripts')
-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}")