mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 795068 - src/optional/python-bindings missing several files
This commit is contained in:
parent
aea33ca515
commit
c3f528b80c
@ -1,7 +1,9 @@
|
||||
ADD_SUBDIRECTORY(example_scripts)
|
||||
ADD_SUBDIRECTORY(tests)
|
||||
|
||||
IF (BUILDING_FROM_VCS)
|
||||
SET(PYEXEC_FILES __init__.py function_class.py gnucash_business.py gnucash_core.py)
|
||||
|
||||
IF (BUILDING_FROM_VCS)
|
||||
SET(SWIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/gnucash_core.i ${CMAKE_CURRENT_SOURCE_DIR}/timespec.i)
|
||||
SET(GNUCASH_CORE_C_INCLUDES
|
||||
${CMAKE_BINARY_DIR}/src/config.h
|
||||
@ -63,8 +65,6 @@ IF(WITH_PYTHON)
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
SET(PYEXEC_FILES __init__.py function_class.py gnucash_business.py gnucash_core.py)
|
||||
|
||||
ADD_LIBRARY(gnucash_core_c MODULE ${SWIG_GNUCASH_CORE_C})
|
||||
TARGET_INCLUDE_DIRECTORIES(gnucash_core_c PRIVATE ${gnucash_core_c_INCLUDE_DIRS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user