mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-26 08:00:05 -05:00
Build depedency fix - build backend libararies before the guile bindings
Compiling our guile scripts will run loaded libraries. One of the libraries to load is the engine library which expects to find the enabled backends (xml and or dbi). If those aren't built yet, this will result in error messages printed in the build output.
This commit is contained in:
1 parent
7b090c710a
commit
1d3164bfdb
1 file changed
+8
-1
@@ -70,7 +70,14 @@ install(TARGETS gnucash-guile
|
||||
set (core_utils_SCHEME core-utils.scm)
|
||||
|
||||
set(GUILE_OUTPUT_DIR gnucash)
|
||||
set(GUILE_DEPENDS gnc-core-utils gnucash-guile)
|
||||
set(GUILE_DEPENDS
|
||||
gnc-core-utils
|
||||
gnucash-guile
|
||||
gncmod-backend-xml)
|
||||
|
||||
if(WITH_SQL)
|
||||
list(APPEND GUILE_DEPENDS gncmod-backend-dbi)
|
||||
endif()
|
||||
|
||||
gnc_add_scheme_targets(scm-core-utils
|
||||
SOURCES "${core_utils_SCHEME}"
|
||||
|
||||
Reference in new issue
Block a user