diff options
| author | hellozee <hellozee@disroot.org> | 2018-03-06 12:22:22 +0000 |
|---|---|---|
| committer | hellozee <hellozee@disroot.org> | 2018-03-06 12:22:22 +0000 |
| commit | a65c02c515528168aec0c5a092078117de02b0a9 (patch) | |
| tree | c80b1ead2a302de453ab901af79b4740947122f1 /CMakeScripts | |
| parent | Fix for Bug #1643260, Step size changed to 0.1% for Blur and Opacity Spin But... (diff) | |
| parent | Remove unused includes, etc. (diff) | |
| download | inkscape-a65c02c515528168aec0c5a092078117de02b0a9.tar.gz inkscape-a65c02c515528168aec0c5a092078117de02b0a9.zip | |
Merge remote-tracking branch 'remote/master'
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index ffaf833f0..a1ce9c16a 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -256,6 +256,15 @@ set(TRY_GTKSPELL ON) ) list(APPEND INKSCAPE_CXX_FLAGS ${GTK3_CFLAGS_OTHER}) + # 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}") |
