diff options
-rw-r--r-- | win/CMakeLists.txt | 4 |
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) |