diff --git a/libgnucash/app-utils/test/CMakeLists.txt b/libgnucash/app-utils/test/CMakeLists.txt index 17de9412db..9d43b1213b 100644 --- a/libgnucash/app-utils/test/CMakeLists.txt +++ b/libgnucash/app-utils/test/CMakeLists.txt @@ -103,15 +103,10 @@ if (HAVE_SRFI64) ${MODULEPATH} ${CMAKE_SOURCE_DIR}/libgnucash/engine ${CMAKE_BINARY_DIR}/common # for config.h - ${GLIB2_INCLUDE_DIRS} - ${GUILE_INCLUDE_DIRS} ) set(swig_gnc_optiondb_LIBS - gncmod-engine - ${GLIB2_LDFLAGS} - ${GUILE_LDFLAGS} - ) + gncmod-engine PkgConfig::GLIB2 PkgConfig::GUILE) target_link_libraries(swig-gnc-optiondb ${swig_gnc_optiondb_LIBS}) target_include_directories(swig-gnc-optiondb