Specify WIN32 in CMake add_executable to get rid of terminal window

This commit is contained in:
Gary Talent 2021-07-28 02:07:19 -05:00
parent 7b5a1450af
commit 28ee8733ba

View File

@ -7,7 +7,7 @@ find_package(QT NAMES Qt6 Qt5 COMPONENTS Network Widgets REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Network Widgets REQUIRED) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Network Widgets REQUIRED)
add_executable( add_executable(
SlideController MACOSX_BUNDLE SlideController MACOSX_BUNDLE WIN32
main.cpp main.cpp
mainwindow.cpp mainwindow.cpp
obsclient.cpp obsclient.cpp