gnucash-on-windows master: Add -DSWIG_DIR to cmake args to work around broken FindSWIG.

John Ralls jralls at code.gnucash.org
Mon Apr 16 17:57:39 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/58e7db7b (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/2a6f00eb (commit)



commit 58e7db7b83f42e66d87567912d3c49537110eeff
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Apr 16 14:57:25 2018 -0700

    Add -DSWIG_DIR to cmake args to work around broken FindSWIG.

diff --git a/jhbuildrc.in b/jhbuildrc.in
index 79ab3a2..27a84cf 100644
--- a/jhbuildrc.in
+++ b/jhbuildrc.in
@@ -80,6 +80,7 @@ _gtk_ldflags= _popen("pkg-config --libs gtk+-3.0")
 append_autogenargs("libofx", "--with-opensp-includes=" + prefix + "/include/OpenSP --with-opensp-libs=" + prefix + "/lib")
 append_autogenargs("libdbi-drivers","--with-dbi-incdir=" + prefix + "/include --with-dbi-libdir=" + prefix + "/lib")
 module_makeargs["aqbanking"]="-j 1"
+module_cmakeargs["gnucash-git"]="-DSWIG_DIR=" + os.path.join(_mingw_base, 'share', 'swig', '3.0.12')
 module_makeargs["gnucash"]="-j 1"
 module_makeargs["gnucash-git"]="-j 1"
 



Summary of changes:
 jhbuildrc.in | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-changes mailing list