From 2ee0edaa163d17d2f2e6bf99b4a246d9e7d6738e Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 20 Sep 2019 12:36:45 -0700 Subject: [PATCH] Use targets instead of variables for GncOption* tests. --- libgnucash/app-utils/test/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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