summaryrefslogtreecommitdiff
path: root/cmake/modules/CheckAtomic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/CheckAtomic.cmake')
-rw-r--r--cmake/modules/CheckAtomic.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake
index f40ff4dfbd..0d63a82b97 100644
--- a/cmake/modules/CheckAtomic.cmake
+++ b/cmake/modules/CheckAtomic.cmake
@@ -22,8 +22,8 @@ int main() {
#endif
return 0;
}
-" LLVM_MULTITHREADED)
+" LLVM_HAS_ATOMICS)
-if( NOT LLVM_MULTITHREADED )
+if( NOT LLVM_HAS_ATOMICS )
message(STATUS "Warning: LLVM will be built thread-unsafe because atomic builtins are missing")
endif()