productivity/gnucash: don't pick up guile3 over guile2 if found

This commit is contained in:
op 2022-07-31 08:52:57 +00:00
parent 33c4f8ead4
commit e5d73bdebb

View File

@ -0,0 +1,15 @@
disable guile3
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -278,7 +278,8 @@ string(REGEX MATCH "^[0-9]+[.]" SWIG_MAJOR ${SWIG_VERS
# Look for guile versions in this order: 3.0 > 2.2 > 2.0
# guile library and include dir
-pkg_check_modules (GUILE3 guile-3.0 QUIET)
+#pkg_check_modules (GUILE3 guile-3.0 QUIET)
+SET(GUILE3_FOUND FALSE)
pkg_check_modules (GUILE22 guile-2.2 QUIET)
pkg_check_modules (GUILE2 guile-2.0>=2.0.9 QUIET)