mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-22 22:03:44 +03:00
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:
parent
e71c72490d
commit
efbc5f9c91
@ -156,6 +156,7 @@ if libvirt_dep.found()
|
|||||||
link_args: gui_security_link_args,
|
link_args: gui_security_link_args,
|
||||||
include_directories: top_include_dir,
|
include_directories: top_include_dir,
|
||||||
install: true,
|
install: true,
|
||||||
|
gui_app: true,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -167,6 +168,7 @@ executable(
|
|||||||
link_args: gui_security_link_args,
|
link_args: gui_security_link_args,
|
||||||
include_directories: top_include_dir,
|
include_directories: top_include_dir,
|
||||||
install: true,
|
install: true,
|
||||||
|
gui_app: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
if host_machine.system() == 'windows'
|
if host_machine.system() == 'windows'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user