aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/CheckAtomic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/CheckAtomic.cmake')
-rw-r--r--cmake/modules/CheckAtomic.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake
index 30a5e31..a03788e 100644
--- a/cmake/modules/CheckAtomic.cmake
+++ b/cmake/modules/CheckAtomic.cmake
@@ -13,6 +13,7 @@ endif()
CHECK_CXX_SOURCE_COMPILES("
#ifdef _MSC_VER
+#include <Intrin.h> /* Workaround for PR19898. */
#include <windows.h>
#endif
int main() {