Added missing CMake include
This commit is contained in:
parent
7dedfbb0b0
commit
9570c349ac
@ -579,8 +579,6 @@ if(UNIX OR CYGWIN)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES m)
|
||||
set(X11_FEATURE_TYPE "RECOMMENDED")
|
||||
set(WAYLAND_FEATURE_TYPE "RECOMMENDED")
|
||||
|
||||
include(CheckFunctionExists)
|
||||
else()
|
||||
set(X11_FEATURE_TYPE "DISABLED")
|
||||
set(WAYLAND_FEATURE_TYPE "DISABLED")
|
||||
|
@ -158,6 +158,8 @@ if(NOT IOS)
|
||||
if (HAVE_SYS_EVENTFD_H)
|
||||
check_symbol_exists(eventfd_read sys/eventfd.h WITH_EVENTFD_READ_WRITE)
|
||||
endif()
|
||||
|
||||
include(CheckFunctionExists)
|
||||
check_function_exists(getlogin_r HAVE_GETLOGIN_R)
|
||||
check_function_exists(getpwuid_r HAVE_GETPWUID_R)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user