mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
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:
parent
56e7659ad8
commit
65d70c7a30
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,7 @@ set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
||||||
set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})
|
set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR})
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
|
find_package(hyprwayland-scanner 0.4.0 REQUIRED)
|
||||||
pkg_check_modules(deps REQUIRED IMPORTED_TARGET
|
pkg_check_modules(deps REQUIRED IMPORTED_TARGET
|
||||||
libseat>=0.8.0 libinput>=1.26.0
|
libseat>=0.8.0 libinput>=1.26.0
|
||||||
wayland-client wayland-protocols
|
wayland-client wayland-protocols
|
||||||
|
@ -24,7 +25,6 @@ pkg_check_modules(deps REQUIRED IMPORTED_TARGET
|
||||||
pixman-1
|
pixman-1
|
||||||
libdrm gbm libudev
|
libdrm gbm libudev
|
||||||
libdisplay-info hwdata
|
libdisplay-info hwdata
|
||||||
hyprwayland-scanner>=0.4.0
|
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(aquamarine.pc.in aquamarine.pc @ONLY)
|
configure_file(aquamarine.pc.in aquamarine.pc @ONLY)
|
||||||
|
|
Loading…
Reference in a new issue