mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-23 13:35:57 +01:00
cmake: add hpp header as target dependency (#4)
target should depend on protoName.hpp otherwise it'll be a build error in case of deletion of this file
This commit is contained in:
parent
e1e94b12d5
commit
65c2636484
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ function(hyprwayland_protocol targets protoName protoPath outputPath)
|
|||
)
|
||||
foreach(target ${targets})
|
||||
target_sources(${target} PRIVATE "${outputPath}/${protoName}.cpp")
|
||||
target_sources(${target} PRIVATE "${outputPath}/${protoName}.hpp")
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
|
|
Loading…
Reference in a new issue