diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-04-06 15:38:45 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2022-04-06 15:39:19 +0200 |
commit | 99209d0339b3a80ed8503c0aaa8e4f3abb99c6f2 (patch) | |
tree | 406f3074a41ccb5ff280400781e094e173470e86 /win | |
parent | cee5a417c8411adbeba7cee9e22c1bd519cf39c6 (diff) | |
download | tigervnc-99209d0339b3a80ed8503c0aaa8e4f3abb99c6f2.tar.gz tigervnc-99209d0339b3a80ed8503c0aaa8e4f3abb99c6f2.zip |
Enable stream sanity checks in debug builds
Enable this automatically for developers so we increase the chance of
these problems getting caught. There is a risk of overhead though so
keep them disabled for release builds.
Diffstat (limited to 'win')
-rw-r--r-- | win/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index cd6fc34f..951f16ad 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt @@ -2,10 +2,6 @@ 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) |