summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-05-29 19:28:02 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-05-29 19:28:02 +0000
commitd66a11f144601d1bb2fb0007e3e4463a393b6bd3 (patch)
treeffe9f81118c094033ab4530991fc6d388bb81967 /CMakeScripts/DefineDependsandFlags.cmake
parentRename effect attribute to "implements-custom-gui" (diff)
downloadinkscape-d66a11f144601d1bb2fb0007e3e4463a393b6bd3.tar.gz
inkscape-d66a11f144601d1bb2fb0007e3e4463a393b6bd3.zip
macOS: gtk-mac-integration
Diffstat (limited to 'CMakeScripts/DefineDependsandFlags.cmake')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index e1f6ca2b9..1ab70106b 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -211,6 +211,12 @@ else()
set(LPE_ENABLE_TEST_EFFECTS OFF)
endif()
+if(APPLE)
+ pkg_check_modules(MacIntegration REQUIRED gtk-mac-integration-gtk3)
+ list(APPEND INKSCAPE_INCS_SYS ${MacIntegration_INCLUDE_DIRS})
+ list(APPEND INKSCAPE_LIBS ${MacIntegration_LIBRARIES})
+endif()
+
# ----------------------------------------------------------------------------
# CMake's builtin
# ----------------------------------------------------------------------------