src: build as a GUI app

This hides the console window when running on Windows platforms

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-02-17 18:48:15 +00:00 committed by Daniel P. Berrangé
parent e71c72490d
commit efbc5f9c91

View File

@ -156,6 +156,7 @@ if libvirt_dep.found()
link_args: gui_security_link_args,
include_directories: top_include_dir,
install: true,
gui_app: true,
)
endif
@ -167,6 +168,7 @@ executable(
link_args: gui_security_link_args,
include_directories: top_include_dir,
install: true,
gui_app: true,
)
if host_machine.system() == 'windows'