mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Link libgncmod-app-utils-python to libgncmod-app-utils.
Instead of building libgncmod-app-utils-python as a stand-alone library because gncmod-app-utils.c can be compiled only with guile thanks to declaring scm_init_sw_app_utils_module. Linux linkers will just mark it 'U' but the MacOS linker errors out.
This commit is contained in:
parent
556f7037ad
commit
465f24af2e
@ -106,9 +106,9 @@ INSTALL(TARGETS gncmod-app-utils
|
||||
)
|
||||
|
||||
IF (WITH_PYTHON)
|
||||
ADD_LIBRARY (gncmod-app-utils-python ${app_utils_ALL_SOURCES} ${SWIG_APP_UTILS_PYTHON_C})
|
||||
ADD_LIBRARY (gncmod-app-utils-python ${SWIG_APP_UTILS_PYTHON_C})
|
||||
|
||||
TARGET_LINK_LIBRARIES(gncmod-app-utils-python ${app_utils_ALL_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(gncmod-app-utils-python gncmod-app-utils ${app_utils_ALL_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||
|
||||
TARGET_INCLUDE_DIRECTORIES (gncmod-app-utils-python
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user