Add missing MAKE_LINKS, and the local scm directory to %load-path

Before this change, "make check" would fail after
  rm -rf ${build}/share/guile/site/*/gnucash/
This commit is contained in:
Richard Cohen
2023-02-26 11:42:35 +00:00
parent 7cae61d97a
commit be41bde58a
6 changed files with 17 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ function(get_guile_env)
list(APPEND env "GUILE=${GUILE_EXECUTABLE}")
set(guile_load_paths "")
#list(APPEND guile_load_paths "${CMAKE_BINARY_DIR}/${GUILE_REL_SITEDIR}")
list(APPEND guile_load_paths "${CMAKE_BINARY_DIR}/${GUILE_REL_SITEDIR}")
list(APPEND guile_load_paths "${CMAKE_BINARY_DIR}/${GUILE_REL_SITEDIR}/gnucash/deprecated") # Path to gnucash' deprecated modules
set(guile_load_path "${guile_load_paths}")