Skip to content

Commit

Permalink
Use targets instead of variables for GncOption* tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Jul 11, 2021
1 parent d2655d3 commit 2ee0eda
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libgnucash/app-utils/test/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 2ee0eda

Please sign in to comment.