mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Use targets instead of variables for GncOption* tests.
This commit is contained in:
parent
d2655d3fb0
commit
2ee0edaa16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user