summaryrefslogtreecommitdiff
path: root/present/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'present/meson.build')
-rw-r--r--present/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/present/meson.build b/present/meson.build
index 1a74a9cbc..ec5d4cc6e 100644
--- a/present/meson.build
+++ b/present/meson.build
@@ -16,11 +16,18 @@ hdrs_present = [
'presentext.h',
]
+if host_machine.system() in ['freebsd', 'openbsd']
+ epoll_dep = dependency('epoll-shim')
+else
+ epoll_dep = []
+endif
+
libxserver_present = static_library('libxserver_present',
srcs_present,
include_directories: inc,
dependencies: [
common_dep,
+ epoll_dep,
dependency('presentproto', version: '>= 1.2')
],
)