diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-06-27 13:03:58 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-06-27 13:03:58 +0000 |
| commit | fa8a2ee7e2539b145a87ac9af0d9748effa91631 (patch) | |
| tree | 457bd081679e98e296be9846117508b4524ec7b3 /CMakeScripts | |
| parent | select-tool: Only stop the rubberband when it was started (diff) | |
| download | inkscape-fa8a2ee7e2539b145a87ac9af0d9748effa91631.tar.gz inkscape-fa8a2ee7e2539b145a87ac9af0d9748effa91631.zip | |
GdkScreen deprecation fixes
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index 52410fb2b..1fead418a 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -258,6 +258,18 @@ set(TRY_GTKSPELL ON) set (WITH_GTKMM_3_10 ON) endif() + # Check whether we can use new features in Gtkmm 3.22 + # TODO: Drop this test and bump the version number in the GTK test above + # as soon as all supported distributions provide Gtkmm >= 3.22 + pkg_check_modules(GTKMM_3_22 + gtkmm-3.0>=3.22, + ) + + if("${GTKMM_3_22_FOUND}") + message("Using Gtkmm 3.22 build") + set (WITH_GTKMM_3_22 ON) + endif() + pkg_check_modules(GDL_3_6 gdl-3.0>=3.6) if("${GDL_3_6_FOUND}") |
