diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 11:25:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-28 16:44:39 (GMT) |
commit | 3e08b4df95208286d8891d76234f7910ff5c1d1c (patch) | |
tree | e35496b3c8e58734521847082276eab4c48c1bc5 /Source | |
parent | 357bf469c7a6c6adad1f3269474989af9b203994 (diff) | |
download | CMake-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.cxx | 3 |
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; } |