mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-12 11:04:10 +00:00
Add missing Wayland dependency on BSDs (#1349)
src/display-wayland.cc:38:10: fatal error: 'sys/epoll.h' file not found #include <sys/epoll.h> ^~~~~~~~~~~~~ ld: error: undefined symbol: epoll_create1 >>> referenced by display-wayland.cc >>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::initialize()) ld: error: undefined symbol: epoll_ctl >>> referenced by display-wayland.cc >>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double)) ld: error: undefined symbol: epoll_wait >>> referenced by display-wayland.cc >>> src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double))
This commit is contained in:
parent
7d93cbcf09
commit
3fb6534eff
@ -370,6 +370,12 @@ if(BUILD_WAYLAND)
|
||||
message(FATAL_ERROR "Unable to find wayland-scanner and xdg-shell protocol")
|
||||
endif(Wayland_FOUND AND wayland-protocols_FOUND)
|
||||
|
||||
if(OS_DARWIN OR OS_DRAGONFLY OR OS_FREEBSD OR OS_NETBSD OR OS_OPENBSD)
|
||||
pkg_check_modules(EPOLL REQUIRED epoll-shim)
|
||||
set(conky_libs ${conky_libs} ${EPOLL_LIBRARIES})
|
||||
set(conky_includes ${conky_includes} ${EPOLL_INCLUDE_DIRS})
|
||||
endif(OS_DARWIN OR OS_DRAGONFLY OR OS_FREEBSD OR OS_NETBSD OR OS_OPENBSD)
|
||||
|
||||
pkg_check_modules(PANGOCAIRO pangocairo)
|
||||
set(conky_libs ${conky_libs} ${PANGOCAIRO_LIBRARIES})
|
||||
set(conky_includes ${conky_includes} ${PANGOCAIRO_INCLUDE_DIRS})
|
||||
|
Loading…
Reference in New Issue
Block a user