diff options
| author | Yaroslav <ilelkin@icloud.com> | 2024-04-13 18:40:28 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 14:40:28 +0100 |
| commit | 9e4b2efe7e24f7b21faefbd50a88f25b5185bc35 (patch) | |
| tree | c463b2069ccc7fe948651945a6ec3c9baf946061 /src/managers/eventLoop/EventLoopManager.cpp | |
| parent | d96501442fb3bbec129e74e26f379898f15881e2 (diff) | |
cmake: Some small cmake cleanups (#5572)
* remove unnecessary include
* cmake: use pkg_get_variable
We can find wayland-scanner executable and wayland-protocols dir by
taking advantage of this function, so no need to use find_program or
manually call pkgconf executable.
* cmake: remove explicit rdynamic option
CMAKE_ENABLE_EXPORTS=ON already implies rdynamic so it's redundant to
set the latter explicitly.
Also, CMAKE_ENABLE_EXPORTS is superseded by
CMAKE_EXECUTABLE_ENABLE_EXPORTS in cmake 3.27.
* cmake: make xcb-errors dep optional
xcb-errors is being used in wlroots, where it's optional. So make it
optional in hyprland as well
Diffstat (limited to 'src/managers/eventLoop/EventLoopManager.cpp')
| -rw-r--r-- | src/managers/eventLoop/EventLoopManager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/managers/eventLoop/EventLoopManager.cpp b/src/managers/eventLoop/EventLoopManager.cpp index 1926a966..20de570c 100644 --- a/src/managers/eventLoop/EventLoopManager.cpp +++ b/src/managers/eventLoop/EventLoopManager.cpp @@ -4,7 +4,6 @@ #include <algorithm> #include <limits> -#include <sys/poll.h> #include <sys/timerfd.h> #include <time.h> |
