summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigEnv.cmake
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-06-15 01:16:30 +0000
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-06-15 08:50:53 +0000
commit78dd7c5f8d9b253f4439fa9d1ea5168cfe46b4cc (patch)
tree484c99650b5a2fb108858530ba9d60395562a2ce /CMakeScripts/ConfigEnv.cmake
parentRemove unused #cmakedefine's. (diff)
downloadinkscape-78dd7c5f8d9b253f4439fa9d1ea5168cfe46b4cc.tar.gz
inkscape-78dd7c5f8d9b253f4439fa9d1ea5168cfe46b4cc.zip
Drop x11 dependency.
On macOS, it's added if GTK+ 2 uses the x11 backends, which seems a bit silly since Inkscape is using GTK+ 3. Linux also doesn't appear to require x11 linkage, especially if using Wayland as a backend.
Diffstat (limited to 'CMakeScripts/ConfigEnv.cmake')
-rw-r--r--CMakeScripts/ConfigEnv.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeScripts/ConfigEnv.cmake b/CMakeScripts/ConfigEnv.cmake
index dd4e7e10c..1c4a64b39 100644
--- a/CMakeScripts/ConfigEnv.cmake
+++ b/CMakeScripts/ConfigEnv.cmake
@@ -47,8 +47,4 @@ if(APPLE)
if(DEFINED ENV{GTKMM_BASEPATH})
message("GTKMM_BASEPATH: $ENV{GTKMM_BASEPATH}")
endif()
-
- # detect current GTK+ backend
- pkg_check_variable(gtk+-2.0 target)
- message("GTK2 backend: ${GTK+_2.0_TARGET}")
endif()