summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-09-29 15:44:28 +0200
committerPierre Ossman <ossman@cendio.se>2015-09-29 15:44:28 +0200
commit6a2b6bf396c5f9685d6f282b0abfb55b0f019d80 (patch)
tree00f6aa0a1b64e41b14804a240403f36945b83add
parent35bb7294c5997578463af629b91373424c641bdb (diff)
downloadtigervnc-6a2b6bf396c5f9685d6f282b0abfb55b0f019d80.tar.gz
tigervnc-6a2b6bf396c5f9685d6f282b0abfb55b0f019d80.zip
Enable Windows specific debug code in debug builds
-rw-r--r--win/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt
index 951f16ad..cd6fc34f 100644
--- a/win/CMakeLists.txt
+++ b/win/CMakeLists.txt
@@ -2,6 +2,10 @@ include_directories(${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/win)
configure_file(resdefs.h.in ${CMAKE_CURRENT_BINARY_DIR}/resdefs.h)
+IF(CMAKE_BUILD_TYPE MATCHES Debug)
+ add_definitions(-D_DEBUG)
+ENDIF()
+
add_subdirectory(rfb_win32)
if(BUILD_WINVNC)