diff --git a/CMakeLists.txt b/CMakeLists.txt index 98e8c853c..c9f8200d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -401,7 +401,7 @@ CHECK_FUNCTION_EXISTS(sysconf HAVE_SYSCONF) CHECK_FUNCTION_EXISTS(mremap HAVE_MREMAP) CHECK_FUNCTION_EXISTS(getrlimit HAVE_GETRLIMIT) -CHECK_SYMBOL_EXISTS(RLIM_INFINITY "sys/resource.h" HAVE_RLIM_INFINITY) +CHECK_SYMBOL_EXISTS(RLIM_INFINITY "sys/resource.h;resource.h" HAVE_RLIM_INFINITY) ##### # End system inspection checks.