From 8050c230ded858d59518fce751e28713dd4266f9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:25:36 +0200 Subject: Adding upstream version 3.5.1+dfsg1. Signed-off-by: Daniel Baumann --- cmake/PlatformDefaults.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmake/PlatformDefaults.cmake') diff --git a/cmake/PlatformDefaults.cmake b/cmake/PlatformDefaults.cmake index 30c8a92..0037ebe 100644 --- a/cmake/PlatformDefaults.cmake +++ b/cmake/PlatformDefaults.cmake @@ -100,4 +100,9 @@ if (USE_PLATFORM_DEFAULT) set(WINPR_TIMEZONE_FILE "/var/db/zoneinfo") endif() add_definitions("-DWINPR_TIMEZONE_FILE=\"${WINPR_TIMEZONE_FILE}\"") + + if(FREEBSD) + find_path(EPOLLSHIM_INCLUDE_DIR NAMES sys/epoll.h sys/timerfd.h HINTS /usr/local/include/libepoll-shim) + find_library(EPOLLSHIM_LIBS NAMES epoll-shim libepoll-shim HINTS /usr/local/lib) + endif() endif() -- cgit v1.2.3