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})