CMake: Add explicit source dependency for generated header.

This solves FTBFS with parallel build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/21/head
Slávek Banko 3 weeks ago
parent c5271c6711
commit 61eb0519af
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