-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: use add_custom_command for generating protocols (#6104)
This fixes an issue with build error in case of e.g. $ rm protocols/*.{c,h} $ cmake --build build The workaround was to touch CMakeLists.txt. With this PR, protocol files are properly regenerated with no extra efforts. Also, resolve hyprwayland-scanner dependency via cmake instead ofpkg-config.
- Loading branch information
Showing
1 changed file
with
63 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters