代码拉取完成,页面将自动刷新
From 48f6e64d98e4aaa47f2a49faa5f3e821bc21fd6e Mon Sep 17 00:00:00 2001
From: Stephen Kelly <[email protected]>
Date: Sun, 19 Jul 2015 21:24:51 +0200
Subject: [PATCH 31/33] Don't attempt to add dependencies which do not exist.
---
Automoc4Config.cmake | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Automoc4Config.cmake b/Automoc4Config.cmake
index d048686..8473d49 100644
--- a/Automoc4Config.cmake
+++ b/Automoc4Config.cmake
@@ -272,7 +272,9 @@ endmacro(_AUTOMOC4_KDE4_PRE_TARGET_HANDLING)
macro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING _target)
- add_dependencies(${_target} "${_target}_automoc")
+ if (TARGET "${_target}_automoc")
+ add_dependencies(${_target} "${_target}_automoc")
+ endif()
endmacro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING)
--
2.4.3
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。