From 4c6993223c193e2acbccf7d27488266c32e3ee72 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 21 Jul 2014 16:22:43 +0200 Subject: Windows debug builds of vncviewer should have a console Makes it easier to debug it by having convenient access to the log output. --- vncviewer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vncviewer') 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}) -- cgit v1.2.3