commit | 6a2b6bf396c5f9685d6f282b0abfb55b0f019d80 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Sep 29 15:44:28 2015 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Sep 29 15:44:28 2015 +0200 |
tree | 00f6aa0a1b64e41b14804a240403f36945b83add | |
parent | 35bb7294c5997578463af629b91373424c641bdb [diff] |
Enable Windows specific debug code in debug builds
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index 951f16a..cd6fc34 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt
@@ -2,6 +2,10 @@ 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)