summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2019-09-30 19:54:13 +0200
committerJeff Layton <jlayton@redhat.com>2019-09-30 20:49:12 +0200
commit09bd258a9f2c3b6bd195c05196698b42da4dd7a4 (patch)
tree4286e62fea0907ad60cf720834f3f653e8b8867d /cmake
parenttest: librados startup/shutdown racer test (diff)
downloadceph-09bd258a9f2c3b6bd195c05196698b42da4dd7a4.tar.xz
ceph-09bd258a9f2c3b6bd195c05196698b42da4dd7a4.zip
cmake: fix libtsan detection
This variable is case-sensitive. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindSanitizers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindSanitizers.cmake b/cmake/modules/FindSanitizers.cmake
index 4c77c14d164..833df6fddb5 100644
--- a/cmake/modules/FindSanitizers.cmake
+++ b/cmake/modules/FindSanitizers.cmake
@@ -20,7 +20,7 @@ foreach(component ${Sanitizers_FIND_COMPONENTS})
elseif(NOT CMAKE_POSITION_INDEPENDENT_CODE)
message(SEND_ERROR "TSan requires all code to be position independent")
endif()
- set(Sanitizers_Thread_COMPILE_OPTIONS "-fsanitize=thread")
+ set(Sanitizers_thread_COMPILE_OPTIONS "-fsanitize=thread")
elseif(component STREQUAL "undefined_behavior")
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88684
set(Sanitizers_undefined_behavior_COMPILE_OPTIONS "-fsanitize=undefined;-fno-sanitize=vptr")