Commit 334ab8c6 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Improve cmake performance on Windows

by suppressing Unix only system checks
parent f01e7a47
...@@ -196,9 +196,7 @@ SET(HAVE_STRERROR 1 CACHE INTERNAL "") ...@@ -196,9 +196,7 @@ SET(HAVE_STRERROR 1 CACHE INTERNAL "")
SET(HAVE_STRINGS_H CACHE INTERNAL "") SET(HAVE_STRINGS_H CACHE INTERNAL "")
SET(HAVE_STRING_H 1 CACHE INTERNAL "") SET(HAVE_STRING_H 1 CACHE INTERNAL "")
SET(HAVE_STRNDUP CACHE INTERNAL "") SET(HAVE_STRNDUP CACHE INTERNAL "")
IF(MSVC_VERSION GREATER 1310)
SET(HAVE_STRNLEN 1 CACHE INTERNAL "") SET(HAVE_STRNLEN 1 CACHE INTERNAL "")
ENDIF()
SET(HAVE_STRPBRK 1 CACHE INTERNAL "") SET(HAVE_STRPBRK 1 CACHE INTERNAL "")
SET(HAVE_STRTOK_R CACHE INTERNAL "") SET(HAVE_STRTOK_R CACHE INTERNAL "")
SET(HAVE_STRTOLL CACHE INTERNAL "") SET(HAVE_STRTOLL CACHE INTERNAL "")
...@@ -251,9 +249,7 @@ SET(HAVE_UNISTD_H CACHE INTERNAL "") ...@@ -251,9 +249,7 @@ SET(HAVE_UNISTD_H CACHE INTERNAL "")
SET(HAVE_UTIME_H CACHE INTERNAL "") SET(HAVE_UTIME_H CACHE INTERNAL "")
SET(HAVE_VARARGS_H 1 CACHE INTERNAL "") SET(HAVE_VARARGS_H 1 CACHE INTERNAL "")
SET(HAVE_VASPRINTF CACHE INTERNAL "") SET(HAVE_VASPRINTF CACHE INTERNAL "")
IF(MSVC_VERSION GREATER 1310)
SET(HAVE_VSNPRINTF 1 CACHE INTERNAL "") SET(HAVE_VSNPRINTF 1 CACHE INTERNAL "")
ENDIF()
SET(HAVE_WEAK_SYMBOL CACHE INTERNAL "") SET(HAVE_WEAK_SYMBOL CACHE INTERNAL "")
SET(HAVE_ATTRIBUTE_CLEANUP CACHE INTERNAL "") SET(HAVE_ATTRIBUTE_CLEANUP CACHE INTERNAL "")
SET(HAVE_WORDS_BIGENDIAN TRUE CACHE INTERNAL "") SET(HAVE_WORDS_BIGENDIAN TRUE CACHE INTERNAL "")
...@@ -267,9 +263,7 @@ SET(HAVE__stricmp 1 CACHE INTERNAL "") ...@@ -267,9 +263,7 @@ SET(HAVE__stricmp 1 CACHE INTERNAL "")
SET(HAVE__strnicmp 1 CACHE INTERNAL "") SET(HAVE__strnicmp 1 CACHE INTERNAL "")
SET(HAVE__strtoi64 1 CACHE INTERNAL "") SET(HAVE__strtoi64 1 CACHE INTERNAL "")
SET(HAVE__strtoui64 1 CACHE INTERNAL "") SET(HAVE__strtoui64 1 CACHE INTERNAL "")
IF(MSVC_VERSION GREATER 1310) SET(HAVE_strtok_s 1 CACHE INTERNAL "")
SET(HAVE_strtok_s 1 CACHE INTERNAL "")
ENDIF()
SET(STDC_HEADERS CACHE 1 INTERNAL "") SET(STDC_HEADERS CACHE 1 INTERNAL "")
SET(TIME_WITH_SYS_TIME CACHE INTERNAL "") SET(TIME_WITH_SYS_TIME CACHE INTERNAL "")
SET(TIME_T_UNSIGNED 1 CACHE INTERNAL "") SET(TIME_T_UNSIGNED 1 CACHE INTERNAL "")
...@@ -302,4 +296,46 @@ SET(HAVE_SOCKPEERCRED CACHE INTERNAL "") ...@@ -302,4 +296,46 @@ SET(HAVE_SOCKPEERCRED CACHE INTERNAL "")
SET(HAVE_ABI_CXA_DEMANGLE CACHE INTERNAL "") SET(HAVE_ABI_CXA_DEMANGLE CACHE INTERNAL "")
SET(HAVE_GCC_C11_ATOMICS CACHE INTERNAL "") SET(HAVE_GCC_C11_ATOMICS CACHE INTERNAL "")
SET(HAVE_VISIBILITY_HIDDEN CACHE INTERNAL "") SET(HAVE_VISIBILITY_HIDDEN CACHE INTERNAL "")
SET(HAVE_ACCEPT4 CACHE INTERNAL "")
SET(HAVE_LINK_H CACHE INTERNAL "")
SET(HAVE_DLADDR CACHE INTERNAL "")
SET(HAVE_CXX_NEW 1 CACHE INTERNAL "")
SET(STRUCT_DIRENT_HAS_D_INO CACHE INTERNAL "")
SET(STRUCT_DIRENT_HAS_D_NAMLEN CACHE INTERNAL "")
SET(HAVE_UCONTEXT_H CACHE INTERNAL "")
SET(STRUCT_TIMESPEC_HAS_TV_SEC 1 CACHE INTERNAL "")
SET(STRUCT_TIMESPEC_HAS_TV_NSEC 1 CACHE INTERNAL "")
SET(HAVE_UNISTD CACHE INTERNAL "")
SET(HAVE_SIGNAL_H CACHE INTERNAL "")
SET(HAVE_LZ4_H CACHE INTERNAL "")
SET(HAVE_LZ4_COMPRESS_DEFAULT CACHE INTERNAL "")
SET(HAVE_LZO_H CACHE INTERNAL "")
SET(HAVE_LZO_SHARED_LIB CACHE INTERNAL "")
SET(HAVE_LZMA_H CACHE INTERNAL "")
SET(HAVE_LZMA_DECODE CACHE INTERNAL "")
SET(HAVE_LZMA_ENCODE CACHE INTERNAL "")
SET(HAVE_BZLIB2_COMPRESS CACHE INTERNAL "")
SET(HAVE_BZLIB2_DECOMPRESS CACHE INTERNAL "")
SET(HAVE_BZLIB2_H CACHE INTERNAL "")
SET(HAVE_SNAPPY_H CACHE INTERNAL "")
SET(HAVE_SCHED_GETCPU CACHE INTERNAL "")
SET(HAVE_NANOSLEEP CACHE INTERNAL "")
SET(HAVE_PTHREAD_THREADID_NP CACHE INTERNAL "")
SET(HAVE_SYS_GETTID CACHE INTERNAL "")
SET(HAVE_INTEGER_PTHREAD_SELF CACHE INTERNAL "")
SET(HAVE_PTHREAD_GETTHREADID_NP CACHE INTERNAL "")
SET(HAVE_TIMER_DELETE CACHE INTERNAL "")
SET(HAVE_MALLOC_USABLE_SIZE CACHE INTERNAL "")
SET(HAVE_PAM_EXT_H CACHE INTERNAL "")
SET(HAVE_PAM_SYSLOG CACHE INTERNAL "")
SET(HAVE_XUCRED CACHE INTERNAL "")
SET(HAVE_GETPEERUCRED CACHE INTERNAL "")
SET(HAVE_GETPWUID_POSIX_FINAL CACHE INTERNAL "")
SET(HAVE_CRACK_H CACHE INTERNAL "")
SET(HAVE_LIBCRACK CACHE INTERNAL "")
SET(HAVE_SNAPPY_SHARED_LIB INTERNAL "")
SET(HAVE_LZ4_SHARED_LIB INTERNAL "")
SET(HAVE_SYS_POLL_H CACHE INTERNAL "")
SET(HAVE_SYS_SYSCALL_H CACHE INTERNAL "")
SET(HAVE_SYS_STATVFS_H CACHE INTERNAL "")
ENDIF(MSVC) ENDIF(MSVC)
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