125 Star 0 Fork 3

src-openEuler/automoc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0031-Don-t-attempt-to-add-dependencies-which-do-not-exist.patch 792 Bytes
一键复制 编辑 原始数据 按行查看 历史
ultra_planet 提交于 2020-03-12 10:05 . package init
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/automoc.git
[email protected]:src-openeuler/automoc.git
src-openeuler
automoc
automoc
master

搜索帮助