Browse Source

Enable Windows specific debug code in debug builds

tags/v1.5.90
Pierre Ossman 8 years ago
parent
commit
6a2b6bf396
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      win/CMakeLists.txt

+ 4
- 0
win/CMakeLists.txt View File

@@ -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)

Loading…
Cancel
Save