Skip to content

Commit

Permalink
CMakeLists: require native hyprwayland-scanner
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MarkusVolk committed Aug 17, 2024
1 parent 808d88e commit b9284d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")

Expand Down

0 comments on commit b9284d9

Please sign in to comment.