Commit 801af5f2 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Do not run GCC atomic builtins tests on MSVC

parent b3d8871c
......@@ -35,7 +35,8 @@ IF(UNIX)
ENDIF()
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
IF(NOT MSVC)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
IF(NOT CMAKE_CROSSCOMPILING)
CHECK_C_SOURCE_RUNS(
"
......@@ -107,6 +108,7 @@ IF(HAVE_IB_ATOMIC_PTHREAD_T_GCC)
ADD_DEFINITIONS(-DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1)
ENDIF()
ENDIF(NOT MSVC)
# Solaris atomics
IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment