summaryrefslogtreecommitdiffstats
path: root/cmake/PlatformDefaults.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/PlatformDefaults.cmake')
-rw-r--r--cmake/PlatformDefaults.cmake5
1 files changed, 5 insertions, 0 deletions
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()