diff options
author | Slávek Banko <[email protected]> | 2024-10-11 03:32:38 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-10-11 03:42:31 +0200 |
commit | 5df559f4eb2e4483e8fc2b24d501d233c676ae2c (patch) | |
tree | 103c45560fe00cbe1fa930542570bd30a885d557 | |
parent | ec3aadb3632f0951192973daa4e6380f0451a9de (diff) | |
download | kmyfirewall-5df559f4eb2e4483e8fc2b24d501d233c676ae2c.tar.gz kmyfirewall-5df559f4eb2e4483e8fc2b24d501d233c676ae2c.zip |
CMake: Add explicit source dependency for generated header.r14.1.3
This solves FTBFS with parallel build.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 61eb0519af1a106f89fad6216d1ce90721e113ce)
-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 |