summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-07-21 16:22:43 +0200
committerPierre Ossman <ossman@cendio.se>2014-07-21 16:22:43 +0200
commit4c6993223c193e2acbccf7d27488266c32e3ee72 (patch)
treef5a20cc88faa0cdd3ab85763734117eb6ed6ff9a /vncviewer
parent7b8bff630ce2d98b87ffbf4843e71ca2c97df717 (diff)
downloadtigervnc-4c6993223c193e2acbccf7d27488266c32e3ee72.tar.gz
tigervnc-4c6993223c193e2acbccf7d27488266c32e3ee72.zip
Windows debug builds of vncviewer should have a console
Makes it easier to debug it by having convenient access to the log output.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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})