summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-12 12:46:44 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-09-12 12:46:44 (GMT)
commit4c4bafdeabe868677a868dba416878c097c416b3 (patch)
tree701cf29da249e5d76b180c89b393927d5973f2af /Source
parent11b507438a1a6934a1110369047304f66dd31a49 (diff)
parent81d2793e920a90a627ca47bfd68f24dacf27ca72 (diff)
downloadCMake-4c4bafdeabe868677a868dba416878c097c416b3.zip
CMake-4c4bafdeabe868677a868dba416878c097c416b3.tar.gz
CMake-4c4bafdeabe868677a868dba416878c097c416b3.tar.bz2
Merge topic 'print-CMP0022-content-conflict'
81d2793 Add differing target property content to policy CMP0022 warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 147c332..ce0d0f2 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -6443,7 +6443,13 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
->GetPolicyWarning(cmPolicies::CMP0022)) << "\n"
<< "Target \"" << this->GetName() << "\" has a "
"INTERFACE_LINK_LIBRARIES property which differs from its "
- << linkIfaceProp << " properties.";
+ << linkIfaceProp << " properties."
+ "\n"
+ "INTERFACE_LINK_LIBRARIES:\n "
+ << newExplicitLibraries
+ << "\n"
+ << linkIfaceProp << ":\n "
+ << explicitLibraries << "\n";
this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
}
// Fall through