From 65c2636484e5cb00583b8a7446c3fb657f568883 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 13 May 2024 18:56:29 +0500 Subject: [PATCH] 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 --- hyprwayland-scanner-config.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/hyprwayland-scanner-config.cmake.in b/hyprwayland-scanner-config.cmake.in index 02096fe..3f086c7 100644 --- a/hyprwayland-scanner-config.cmake.in +++ b/hyprwayland-scanner-config.cmake.in @@ -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()