From ff970de48883d025d95e5e442140d0548d00cb34 Mon Sep 17 00:00:00 2001 From: Petros Koutsolampros <2184600+orange-vertex@users.noreply.github.com> Date: Thu, 6 Jun 2019 00:10:13 +0100 Subject: [PATCH] Make sure no command line appears in windows GUI --- depthmapX/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depthmapX/CMakeLists.txt b/depthmapX/CMakeLists.txt index d7b4f5bb..8925e6d5 100644 --- a/depthmapX/CMakeLists.txt +++ b/depthmapX/CMakeLists.txt @@ -72,7 +72,7 @@ qt5_wrap_cpp(UI_SRCS qt5_add_resources(DM_RSRC resource.qrc dialogs/settings/settingsdialog.qrc) if (MSVC) - add_executable(${depthmapX} ${depthmapX_SRCS} ${UI_HDRS} ${UI_SRCS} ${DM_RSRC} icons.rc) + add_executable(${depthmapX} WIN32 ${depthmapX_SRCS} ${UI_HDRS} ${UI_SRCS} ${DM_RSRC} icons.rc) endif(MSVC) if(UNIX AND NOT APPLE) add_executable(${depthmapX} ${depthmapX_SRCS} ${UI_HDRS} ${UI_SRCS} ${DM_RSRC})