From 3e08b4df95208286d8891d76234f7910ff5c1d1c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 2 Aug 2015 13:25:53 +0200 Subject: [PATCH] cmMakefile: Skip Global targets for CMP0019 evaluation. --- Source/cmMakefile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 7893032fc..8a3d19701 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2334,7 +2334,8 @@ void cmMakefile::ExpandVariablesCMP0019() l != this->Targets.end(); ++l) { cmTarget &t = l->second; - if (t.GetType() == cmTarget::INTERFACE_LIBRARY) + if (t.GetType() == cmTarget::INTERFACE_LIBRARY + || t.GetType() == cmTarget::GLOBAL_TARGET) { continue; }