|
|
|
|
@ -136,8 +136,10 @@ set (gnc_gnome_SOURCES
|
|
|
|
|
set_source_files_properties (${gnc_gnome_SOURCES} PROPERTIES OBJECT_DEPENDS ${CONFIG_H})
|
|
|
|
|
|
|
|
|
|
add_library (gnc-gnome ${gnc_gnome_SOURCES} ${gnc_gnome_noinst_HEADERS} ${SWIG_GNOME_C})
|
|
|
|
|
target_link_libraries(gnc-gnome gncmod-gnome-search gncmod-ledger-core gncmod-html gncmod-report
|
|
|
|
|
gncmod-register-gnome gncmod-register-core gncmod-gnome-utils gncmod-engine PkgConfig::GTK3 ${GTK_MAC_LDFLAGS})
|
|
|
|
|
target_link_libraries(gnc-gnome gncmod-gnome-search gncmod-ledger-core
|
|
|
|
|
gncmod-html gncmod-report gncmod-register-gnome gncmod-register-core
|
|
|
|
|
gncmod-gnome-utils gncmod-engine PkgConfig::GTK3
|
|
|
|
|
$<$<BOOL:${GTK_MAC_FOUND}>:PkgConfig::GTK_MAC>)
|
|
|
|
|
|
|
|
|
|
target_compile_definitions (gnc-gnome PRIVATE -DG_LOG_DOMAIN=\"gnc.gui\" ${GTK_MAC_CFLAGS_OTHER})
|
|
|
|
|
target_compile_options(gnc-gnome PRIVATE -Wno-deprecated-declarations)
|
|
|
|
|
@ -148,7 +150,6 @@ target_include_directories(gnc-gnome
|
|
|
|
|
${CMAKE_SOURCE_DIR}/libgnucash/app-utils/calculation
|
|
|
|
|
${CMAKE_SOURCE_DIR}/gnucash/html
|
|
|
|
|
${CMAKE_BINARY_DIR}/gnucash/gnome-utils # for gnc-warnings.h
|
|
|
|
|
${GTK_MAC_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_dependencies (gnc-gnome swig-runtime-h)
|
|
|
|
|
|