Use targets instead of variables for GncOption* tests.

This commit is contained in:
John Ralls 2019-09-20 12:36:45 -07:00
parent d2655d3fb0
commit 2ee0edaa16

View File

@ -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