aboutsummaryrefslogtreecommitdiffstats
path: root/build_settings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'build_settings.cmake')
-rw-r--r--build_settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_settings.cmake b/build_settings.cmake
index 6c3740f1bce..185f93e1b1e 100644
--- a/build_settings.cmake
+++ b/build_settings.cmake
@@ -4,7 +4,7 @@
include(${CMAKE_CURRENT_LIST_DIR}/vtag.cmake)
if (VESPA_USE_SANITIZER)
- if (VESPA_USE_SANITIZER STREQUAL "address" OR VESPA_USE_SANITIZER STREQUAL "thread")
+ if (VESPA_USE_SANITIZER STREQUAL "address" OR VESPA_USE_SANITIZER STREQUAL "thread" OR VESPA_USE_SANITIZER STREQUAL "undefined")
message("-- Instrumenting code using ${VESPA_USE_SANITIZER} sanitizer")
else()
message(FATAL_ERROR "Unsupported sanitizer option '${VESPA_USE_SANITIZER}'. Supported: 'address' or 'thread'")