CMakeLists: require native hyprwayland-scanner (#8)

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:
flk 2024-07-08 17:06:10 +02:00 committed by GitHub
parent 56e7659ad8
commit 65d70c7a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,7 @@ set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})
find_package(PkgConfig REQUIRED)
find_package(hyprwayland-scanner 0.4.0 REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET
libseat>=0.8.0 libinput>=1.26.0
wayland-client wayland-protocols
@ -24,7 +25,6 @@ pkg_check_modules(deps REQUIRED IMPORTED_TARGET
pixman-1
libdrm gbm libudev
libdisplay-info hwdata
hyprwayland-scanner>=0.4.0
)
configure_file(aquamarine.pc.in aquamarine.pc @ONLY)