mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-12-22 04:19:47 +01:00
CMakeLists: require native hyprwayland-scanner
This would fix a cross-compile issue where hyprwayland-scanner is pulled in for target but needs to run on host. Signed-off-by: Markus Volk <f_l_k@t-online.de>
This commit is contained in:
parent
808d88e574
commit
91e17e12ff
1 changed files with 2 additions and 2 deletions
|
@ -45,6 +45,7 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value
|
|||
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
find_package(hyprwayland-scanner 0.4.0 REQUIRED)
|
||||
|
||||
pkg_check_modules(
|
||||
deps
|
||||
|
@ -58,8 +59,7 @@ pkg_check_modules(
|
|||
libjpeg
|
||||
libwebp
|
||||
hyprlang>=0.2.0
|
||||
hyprutils>=0.2.0
|
||||
hyprwayland-scanner>=0.4.0)
|
||||
hyprutils>=0.2.0)
|
||||
|
||||
file(GLOB_RECURSE SRCFILES "src/*.cpp")
|
||||
|
||||
|
|
Loading…
Reference in a new issue