From c7bedda2857303fcca3b77e7da00f7b95df5721f Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 20 Jan 2017 16:39:59 +0000 Subject: [PATCH] Don't build to run with a console window. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7545 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 4 ++-- mainwindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd91b680c..098a6d7ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,8 +115,8 @@ target_link_libraries (map65 m65impl ${fftw3f_LIBRARIES} ${CMAKE_CURRENT_SOURCE_ if (WIN32) target_link_libraries (map65) - set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} ") -# set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} -mwindows") +# set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} ") + set_target_properties (map65 PROPERTIES LINK_FLAGS_RELEASE "${LINKER_FLAGS_RELEASE} -mwindows") endif (WIN32) qt5_use_modules (map65 Widgets Multimedia OpenGL) diff --git a/mainwindow.cpp b/mainwindow.cpp index 3027ea542..cf8794062 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//---------------------------------------------------------------- MainWindow +//--------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"