From 1c1b7045b28d87b47b060bfb8e8ad9df34712785 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 30 Sep 2018 19:22:28 +0200 Subject: 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. --- CMakeScripts/DefineDependsandFlags.cmake | 9 --------- 1 file changed, 9 deletions(-) (limited to 'CMakeScripts') 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") -- cgit v1.2.3