From: Pierre Ossman Date: Mon, 21 Jul 2014 14:22:43 +0000 (+0200) Subject: Windows debug builds of vncviewer should have a console X-Git-Tag: v1.3.90~34^2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c6993223c193e2acbccf7d27488266c32e3ee72;p=tigervnc.git Windows debug builds of vncviewer should have a console Makes it easier to debug it by having convenient access to the log output. --- diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index 9b815a39..ca1fbafe 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -41,7 +41,7 @@ else() set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} X11PixelBuffer.cxx) endif() -if(WIN32) +if(WIN32 AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug") add_executable(vncviewer WIN32 ${VNCVIEWER_SOURCES}) else() add_executable(vncviewer ${VNCVIEWER_SOURCES})