1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

gui/CMakeLists.txt: add "WIN32" flag to add_executable

This makes cmake configure the compiler to create a gui app (e.g. not opening a console window that spawns a gui window as a child process)
This commit is contained in:
Henrik Hautakoski 2020-04-23 10:00:23 +02:00
parent 8d925536ba
commit 00b9177f3a

View file

@ -37,7 +37,7 @@ set( PROGRAM_SRC
helpers.cpp
)
add_executable( ${PROGRAM_EXE} ${PROGRAM_SRC} )
add_executable( ${PROGRAM_EXE} WIN32 ${PROGRAM_SRC} )
# Libraries
find_package( Qt5 COMPONENTS Concurrent Core Widgets REQUIRED )