CMake: Add explicit source dependency for generated header.

This solves FTBFS with parallel build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 61eb0519af)
r14.1.x r14.1.3
Slávek Banko 2 months ago
parent ec3aadb363
commit 5df559f4eb
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -14,6 +14,12 @@ tde_add_library( kmfipteditorpart SHARED AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )
set_property(
SOURCE kmfruleedit.h
APPEND PROPERTY OBJECT_DEPENDS
${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor/kmyfirewallruleeditor.h
)
##### other data ##### other data

@ -13,6 +13,12 @@ tde_add_library( kmfruletargetoptionedit_log SHARED AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )
set_property(
SOURCE kmfruletargetoptioneditlog.cpp
APPEND PROPERTY OBJECT_DEPENDS
${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor/kmyfirewallruleeditor.h
)
##### other data ##### other data

Loading…
Cancel
Save