From: Casey Bodley Date: Mon, 24 Jun 2019 15:35:25 +0000 (-0400) Subject: cmake: fix WITH_UBSAN X-Git-Tag: v15.1.0~2377^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=13b07e5e6b1c00eec7bb6fb9cd42488c5b26a13c;p=ceph.git cmake: fix WITH_UBSAN CMake Error at cmake/modules/FindSanitizers.cmake:28 (message): Unsupported sanitizer: undefined-behavior Signed-off-by: Casey Bodley --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4418099f77a4..ffdabda7c80e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -608,7 +608,7 @@ endif() option(WITH_UBSAN "build with UBSAN" OFF) if(WITH_UBSAN) - list(APPEND sanitizers "undefined-behavior") + list(APPEND sanitizers "undefined_behavior") endif() if(sanitizers)