From 0667f1b1dc1d1e1b085434511bf463f0a7dfa4d6 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 2 Mar 2015 22:00:23 +0000 Subject: [PATCH] cmake: Use MSVC atomics with clang-cl llvm-svn: 231022 --- cmake/modules/CheckAtomic.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake index 30a5e311292..a03788ec9f9 100644 --- a/cmake/modules/CheckAtomic.cmake +++ b/cmake/modules/CheckAtomic.cmake @@ -13,6 +13,7 @@ endif() CHECK_CXX_SOURCE_COMPILES(" #ifdef _MSC_VER +#include /* Workaround for PR19898. */ #include #endif int main() {