mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
a272344228
In cmTarget, cmGeneratorTarget, and cmGeneratorExpressionEvaluator, fix target name lookups to occur in the cmMakefile context of the target that referenced the name, not the current 'head' target. The context matters for imported targets because they are directory-scoped instead of globally unique. We already do this in cmComputeLinkDepends and cmComputeTargetDepends. Extend the InterfaceLibrary test with an example covering this behavior. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
sub.cpp |