Make gnucash-cli a console application on Windows

This commit is contained in:
Geert Janssens
2020-06-11 11:50:17 +02:00
parent 222b34a08b
commit 85f26b6e30

View File

@@ -74,6 +74,7 @@ set(gnucash_cli_SOURCES
if (MINGW)
list(APPEND gnucash_cli_SOURCES "gnucash-windows-locale.c")
target_link_options(gnucash-cli PRIVATE -mconsole)
endif()
add_executable (gnucash-cli