From 16d1f0655bc69671bce3ed21eeb3a454fee8f3cf Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 12 Oct 2019 18:17:09 -0700 Subject: [PATCH] Get libswig-gnc-optiondb to install in the right place on Windows. --- libgnucash/app-utils/test/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libgnucash/app-utils/test/CMakeLists.txt b/libgnucash/app-utils/test/CMakeLists.txt index 17de9412db..d8fe3e53f8 100644 --- a/libgnucash/app-utils/test/CMakeLists.txt +++ b/libgnucash/app-utils/test/CMakeLists.txt @@ -117,6 +117,12 @@ if (HAVE_SRFI64) target_include_directories(swig-gnc-optiondb PRIVATE ${swig_gnc_optiondb_INCLUDES}) + install(TARGETS swig-gnc-optiondb + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) + gnc_add_scheme_test_targets(scm-test-gnc-optiondb "test-gnc-optiondb.scm" "tests"