mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
cmake: fix detection of the mmap function
This commit is contained in:
parent
918cdf5155
commit
005a1bf0b4
@ -1401,7 +1401,7 @@ CHECK_FUNCTION_EXISTS(getpagesize HAVE_GETPAGESIZE)
|
||||
CHECK_FUNCTION_EXISTS(sysconf HAVE_SYSCONF)
|
||||
CHECK_FUNCTION_EXISTS(getrlimit HAVE_GETRLIMIT)
|
||||
CHECK_FUNCTION_EXISTS(_filelengthi64 HAVE_FILE_LENGTH_I64)
|
||||
CHECK_FUNCTION_EXISTS(mmmap HAVE_MMAP)
|
||||
CHECK_FUNCTION_EXISTS(mmap HAVE_MMAP)
|
||||
CHECK_FUNCTION_EXISTS(mremap HAVE_MREMAP)
|
||||
|
||||
IF(NOT HAVE_MMMAP OR NOT HAVE_MREMAP)
|
||||
|
Loading…
Reference in New Issue
Block a user