X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cmake%2Fmodules%2FCheckAtomic.cmake;h=0d63a82b97a06090085764e806670ac207eac476;hb=ccbfd5b18a79a07229f11af478843eae16ac9b26;hp=f40ff4dfbd3123e4ab3fc29de1ddc3595eed1e43;hpb=c595e6ca0a889ab51efe7a1c8109f8e96d9d4869;p=oota-llvm.git diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake index f40ff4dfbd3..0d63a82b97a 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()