include gnucash_core of python bindings in python swig app-utils

This commit is contained in:
c-holtermann 2020-04-03 21:12:36 +02:00
parent 43cebedd3d
commit ab843c0b7a
2 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,8 @@ macro (gnc_add_swig_python_command _target _out_var _py_out_var _output _py_outp
${CMAKE_SOURCE_DIR}/common
${CMAKE_SOURCE_DIR}/libgnucash/engine
${CMAKE_SOURCE_DIR}/libgnucash/app-utils
)
${CMAKE_SOURCE_DIR}/bindings/python
)
set (PYTHON_SWIG_FLAGS ${DEFAULT_SWIG_PYTHON_FLAGS})
foreach (dir ${DEFAULT_SWIG_PYTHON_C_INCLUDES})

View File

@ -56,6 +56,7 @@ void
#endif
SWIG_init (void);
%}
%import <gnucash_core.i>
#endif
%import "base-typemaps.i"