diff options
Diffstat (limited to 'cmake/modules/CheckAtomic.cmake')
-rw-r--r-- | cmake/modules/CheckAtomic.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake index f40ff4d..0d63a82 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() |