]> source.dussan.org Git - tigervnc.git/commitdiff
Windows debug builds of vncviewer should have a console
authorPierre Ossman <ossman@cendio.se>
Mon, 21 Jul 2014 14:22:43 +0000 (16:22 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 21 Jul 2014 14:22:43 +0000 (16:22 +0200)
Makes it easier to debug it by having convenient access to the
log output.

vncviewer/CMakeLists.txt

index 9b815a390a24dadd3d93f9528043079ecf3f3f81..ca1fbafee537126886fc32e7fa391986254c58d0 100644 (file)
@@ -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})