diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f726faa..43575d81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -547,6 +547,7 @@ endif() libical_option(LIBICAL_DEVMODE_MEMORY_CONSISTENCY "(Developer-only) Build with memory consistency functions." False) if(LIBICAL_DEVMODE_MEMORY_CONSISTENCY) + set(CMAKE_BUILD_TYPE "Debug") add_definitions(-DMEMORY_CONSISTENCY) endif() mark_as_advanced(LIBICAL_DEVMODE_MEMORY_CONSISTENCY) |