summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-05-13 14:54:35 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2019-05-13 14:54:35 +0000
commit06b50da77090d1ca4419e040aae83ba31e27f66b (patch)
treeb6e329ce0927a2550af673e557d9138f32008301 /CMakeLists.txt
parent374dae3ecc49d948a95fb7b60be34837cc85a2b9 (diff)
downloadmariadb-git-06b50da77090d1ca4419e040aae83ba31e27f66b.tar.gz
Fix typo THRASH_FREED_MEMORY->TRASH_FREED_MEMORY
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed76fba7d10..bbd415c1cc2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -290,13 +290,13 @@ ELSEIF(WITH_SAFEMALLOC MATCHES "AUTO" AND NOT WIN32 AND NOT WITH_VALGRIND)
ENDIF()
# Another memory debugging feature
-SET(THRASH_FREED_MEMORY "AUTO" CACHE STRING "Fill freed memory with specific byte pattern. Will result in slower execution. Options are: ON OFF AUTO.")
-MARK_AS_ADVANCED(THRASH_FREED_MEMORY)
-IF(THRASH_FREED_MEMORY MATCHES "ON")
- ADD_DEFINITIONS( -DTHRASH_FREED_MEMORY)
-ELSEIF(THRASH_FREED_MEMORY MATCHES "AUTO" AND NOT WIN32 AND NOT WITH_VALGRIND AND NOT WITH_ASAN)
- SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DTHRASH_FREED_MEMORY")
- SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DTHRASH_FREED_MEMORY")
+SET(TRASH_FREED_MEMORY "AUTO" CACHE STRING "Fill freed memory with specific byte pattern. Will result in slower execution. Options are: ON OFF AUTO.")
+MARK_AS_ADVANCED(TRASH_FREED_MEMORY)
+IF(TRASH_FREED_MEMORY MATCHES "ON")
+ ADD_DEFINITIONS( -DTRASH_FREED_MEMORY)
+ELSEIF(TRASH_FREED_MEMORY MATCHES "AUTO" AND NOT WIN32 AND NOT WITH_VALGRIND AND NOT WITH_ASAN)
+ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DTRASH_FREED_MEMORY")
+ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DTRASH_FREED_MEMORY")
ENDIF()
# Set commonly used variables