summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 11:25:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-28 16:44:39 (GMT)
commit3e08b4df95208286d8891d76234f7910ff5c1d1c (patch)
treee35496b3c8e58734521847082276eab4c48c1bc5 /Source
parent357bf469c7a6c6adad1f3269474989af9b203994 (diff)
downloadCMake-3e08b4df95208286d8891d76234f7910ff5c1d1c.zip
CMake-3e08b4df95208286d8891d76234f7910ff5c1d1c.tar.gz
CMake-3e08b4df95208286d8891d76234f7910ff5c1d1c.tar.bz2
cmMakefile: Skip Global targets for CMP0019 evaluation.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 7893032..8a3d197 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;
}