From d03c750e4aea638a8acf39c6a7aa6c9adccb649c Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 15 Mar 2026 09:47:03 +0000 Subject: [PATCH] cmake: ensure interface headers are regenerated when the corresponding .xpc file is changed --- cmake/Msg-Interface.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Msg-Interface.cmake b/cmake/Msg-Interface.cmake index 9c119f2..dd6f425 100644 --- a/cmake/Msg-Interface.cmake +++ b/cmake/Msg-Interface.cmake @@ -21,6 +21,7 @@ function(add_interface) add_custom_command( OUTPUT ${header_path} COMMAND ${XPCG} ${arg_PATH} + DEPENDS ${arg_PATH} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR} COMMENT "Generating interface: ${arg_NAME}")