diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-07-11 14:59:50 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-07-11 14:59:50 (GMT) |
commit | 7b0f6508a03d7045d7599068ce9409004df2dbb0 (patch) | |
tree | 1f0cead6eda2344796ef818e91b6c3b9d1639fa7 /Source | |
parent | 6ab08c4e99469439900c1cdc02fd2452ab268a87 (diff) | |
download | CMake-7b0f6508a03d7045d7599068ce9409004df2dbb0.zip CMake-7b0f6508a03d7045d7599068ce9409004df2dbb0.tar.gz CMake-7b0f6508a03d7045d7599068ce9409004df2dbb0.tar.bz2 |
ALIAS targets: Non-global aliases must be propagated to sub-directories
Fixes: #20942
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c78b751..db5cee9 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1461,6 +1461,9 @@ void cmMakefile::InitializeFromParent(cmMakefile* parent) // Imported targets. this->ImportedTargets = parent->ImportedTargets; + // Non-global Alias targets. + this->AliasTargets = parent->AliasTargets; + // Recursion depth. this->RecursionDepth = parent->RecursionDepth; } |