Skip to content

Commit

Permalink
cmake: add hpp header as target dependency (#4)
Browse files Browse the repository at this point in the history
target should depend on protoName.hpp otherwise it'll be a build error
in case of deletion of this file
  • Loading branch information
cnt0 authored May 13, 2024
1 parent e1e94b1 commit 65c2636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hyprwayland-scanner-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 65c2636

Please sign in to comment.