summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-10-11 03:32:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-10-11 03:32:38 +0200
commit61eb0519af1a106f89fad6216d1ce90721e113ce (patch)
treee07e9b044dff01c4bb1360728d4a77cf432532d4
parentc5271c67110f7f37005e585f56bf061a236acb18 (diff)
downloadkmyfirewall-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.txt6
-rw-r--r--kmyfirewall/ruleoptionplugins/log_target_option/CMakeLists.txt6
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