summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-30 17:22:28 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-10-01 22:50:12 +0000
commit1c1b7045b28d87b47b060bfb8e8ad9df34712785 (patch)
tree311f26c1ebb06c86785401ecf855cfed55792d34 /CMakeScripts
parentEnd fix bug bug:#1769679 #18; Crash when opening file with live path effect (diff)
downloadinkscape-1c1b7045b28d87b47b060bfb8e8ad9df34712785.tar.gz
inkscape-1c1b7045b28d87b47b060bfb8e8ad9df34712785.zip
Move GTKMM_CHECK_VERSION from config.h to it's own header
Avoids having to recompile most of the Inkscape codebase whenever gtkmm is updated.
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 0655935db..9387926eb 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -248,15 +248,6 @@ list(APPEND INKSCAPE_CXX_FLAGS ${GTK3_CFLAGS_OTHER})
list(APPEND INKSCAPE_INCS_SYS ${GTK3_INCLUDE_DIRS})
list(APPEND INKSCAPE_LIBS ${GTK3_LIBRARIES})
-# Use some obtuse string parsing to get the version
-# number components for GTKMM.
-# These variables are also substituted in config.h, and used within the
-# GTKMM_CHECK_VERSION macro
-string(REPLACE "." ";" GTKMM_VERSION_COMPONENTS ${GTK3_gtkmm-3.0_VERSION})
-list(GET GTKMM_VERSION_COMPONENTS 0 INKSCAPE_GTKMM_MAJOR_VERSION)
-list(GET GTKMM_VERSION_COMPONENTS 1 INKSCAPE_GTKMM_MINOR_VERSION)
-list(GET GTKMM_VERSION_COMPONENTS 2 INKSCAPE_GTKMM_MICRO_VERSION)
-
pkg_check_modules(GDL_3_6 gdl-3.0>=3.6)
if("${GDL_3_6_FOUND}")
message(STATUS "Using GDL 3.6 or higher")