diff options
author | Yaroslav <[email protected]> | 2024-04-13 18:40:28 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-13 14:40:28 +0100 |
commit | 9e4b2efe7e24f7b21faefbd50a88f25b5185bc35 (patch) | |
tree | c463b2069ccc7fe948651945a6ec3c9baf946061 /scripts | |
parent | d96501442fb3bbec129e74e26f379898f15881e2 (diff) | |
download | Hyprland-9e4b2efe7e24f7b21faefbd50a88f25b5185bc35.tar.gz Hyprland-9e4b2efe7e24f7b21faefbd50a88f25b5185bc35.zip |
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 'scripts')
0 files changed, 0 insertions, 0 deletions