diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-10-11 03:32:38 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-10-11 03:32:38 +0200 |
commit | 61eb0519af1a106f89fad6216d1ce90721e113ce (patch) | |
tree | e07e9b044dff01c4bb1360728d4a77cf432532d4 | |
parent | c5271c67110f7f37005e585f56bf061a236acb18 (diff) | |
download | kmyfirewall-61eb0519af1a106f89fad6216d1ce90721e113ce.tar.gz kmyfirewall-61eb0519af1a106f89fad6216d1ce90721e113ce.zip |
CMake: Add explicit source dependency for generated header.
This solves FTBFS with parallel build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | kmyfirewall/ipteditor/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/kmyfirewall/ipteditor/CMakeLists.txt b/kmyfirewall/ipteditor/CMakeLists.txt index 66d39e6..b981174 100644 --- a/kmyfirewall/ipteditor/CMakeLists.txt +++ b/kmyfirewall/ipteditor/CMakeLists.txt @@ -14,6 +14,12 @@ tde_add_library( kmfipteditorpart SHARED AUTOMOC DESTINATION ${PLUGIN_INSTALL_DIR} ) +set_property( + SOURCE kmfruleedit.h + APPEND PROPERTY OBJECT_DEPENDS + ${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor/kmyfirewallruleeditor.h +) + ##### other data diff --git a/kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt b/kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt index 532e1c7..dc0ba76 100644 --- a/kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt +++ b/kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt @@ -13,6 +13,12 @@ tde_add_library( kmfruletargetoptionedit_log SHARED AUTOMOC DESTINATION ${PLUGIN_INSTALL_DIR} ) +set_property( + SOURCE kmfruletargetoptioneditlog.cpp + APPEND PROPERTY OBJECT_DEPENDS + ${CMAKE_BINARY_DIR}/kmyfirewall/ipteditor/kmyfirewallruleeditor.h +) + ##### other data |