From 4b80c8996210a3a023c203e85ff432e92fad9c44 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 25 May 2023 17:57:25 -0700 Subject: [PATCH] Fix typo in the warning if MI_DEBUG_UBSAN is ON and not Debug build It was a well-known copy-paste typo. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bcd1ef7..787e86b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,7 @@ if(MI_DEBUG_UBSAN) message(WARNING "Can only use undefined-behavior sanitizer with clang++ (MI_DEBUG_UBSAN=ON but ignored)") endif() else() - message(WARNING "Can only use thread sanitizer with a debug build (CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})") + message(WARNING "Can only use undefined-behavior sanitizer with a debug build (CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})") endif() endif()