summaryrefslogtreecommitdiffstats
path: root/Tests/LinkDirectory
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-03 11:45:21 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-03 14:14:54 (GMT)
commit0a561a03475f4ed1e017802970a8f17998fe05c3 (patch)
treeaab30abe815bc222e1bd8ded999c5229d3dd0e77 /Tests/LinkDirectory
parent23d21b78e125c11a0d901eb987e5f616026ff8fd (diff)
downloadCMake-0a561a03475f4ed1e017802970a8f17998fe05c3.zip
CMake-0a561a03475f4ed1e017802970a8f17998fe05c3.tar.gz
CMake-0a561a03475f4ed1e017802970a8f17998fe05c3.tar.bz2
CMP0022: Warn about a given target at most once
Since cmTarget::ComputeLinkInterface is called separately for each "head" target that links a target, the warning we produce when CMP0022 is not set could be repeated. Add explicit logic to allow the warning to appear at most once. Multiple copies of the warning for the same target are almost always identical and therefore redundant. In the rare case that two copies of the warning are different, the second can appear in a future run after the first is fixed.
Diffstat (limited to 'Tests/LinkDirectory')
0 files changed, 0 insertions, 0 deletions