Windows : reduce useless system checks

This commit is contained in:
Vladislav Vaintroub 2020-11-12 21:26:34 +00:00
parent 254bb1c35b
commit f950559f66
2 changed files with 7 additions and 0 deletions

View file

@ -335,4 +335,7 @@ SET(HAVE_LZ4_SHARED_LIB INTERNAL "")
SET(HAVE_SYS_POLL_H CACHE INTERNAL "") SET(HAVE_SYS_POLL_H CACHE INTERNAL "")
SET(HAVE_SYS_SYSCALL_H CACHE INTERNAL "") SET(HAVE_SYS_SYSCALL_H CACHE INTERNAL "")
SET(HAVE_SYS_STATVFS_H CACHE INTERNAL "") SET(HAVE_SYS_STATVFS_H CACHE INTERNAL "")
SET(HAVE_GETPAGESIZES CACHE INTERNAL "")
SET(HAVE_LINUX_LIMITS_H CACHE INTERNAL "")
SET(HAVE_FILE_UCONTEXT_H CACHE INTERNAL "")
ENDIF(MSVC) ENDIF(MSVC)

View file

@ -1,3 +1,7 @@
IF(WIN32)
RETURN()
ENDIF()
INCLUDE (CheckIncludeFiles) INCLUDE (CheckIncludeFiles)
INCLUDE (CheckFunctionExists) INCLUDE (CheckFunctionExists)