summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:36 +0000
commit8050c230ded858d59518fce751e28713dd4266f9 (patch)
tree3b2835ad0af9b436b7ae77963fc10735adc13d25 /cmake
parentAdding upstream version 3.5.0+dfsg1. (diff)
downloadfreerdp3-upstream/3.5.1+dfsg1.tar.xz
freerdp3-upstream/3.5.1+dfsg1.zip
Adding upstream version 3.5.1+dfsg1.upstream/3.5.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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()