mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 10:47:59 +08:00
Port to static cmPolicies API.
This commit is contained in:
@@ -222,8 +222,7 @@ bool cmAddLibraryCommand
|
||||
case cmPolicies::WARN:
|
||||
if(type != cmTarget::INTERFACE_LIBRARY)
|
||||
{
|
||||
e << (this->Makefile->GetPolicies()
|
||||
->GetPolicyWarning(cmPolicies::CMP0037)) << "\n";
|
||||
e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0037) << "\n";
|
||||
issueMessage = true;
|
||||
}
|
||||
case cmPolicies::OLD:
|
||||
|
Reference in New Issue
Block a user