diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-20 01:12:37 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-21 00:52:23 +0200 |
commit | c099e00fc0a9c47a2addaca145952b1c33195fab (patch) | |
tree | 6997d09c8174eaa0e8d75fed5f4ce89e3f127556 /Source/cmComputeTargetDepends.cxx | |
parent | d74bca5a8fee1d45c60b60a70a2a1a90abb74180 (diff) | |
download | cmake-c099e00fc0a9c47a2addaca145952b1c33195fab.tar.gz |
Access policy status from cmGeneratorTarget at generate time.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r-- | Source/cmComputeTargetDepends.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx index 2ae80849af..03f4fddfbe 100644 --- a/Source/cmComputeTargetDepends.cxx +++ b/Source/cmComputeTargetDepends.cxx @@ -362,7 +362,7 @@ void cmComputeTargetDepends::AddTargetDepend( cmake::MessageType messageType = cmake::AUTHOR_WARNING; bool issueMessage = false; std::ostringstream e; - switch(depender->Target->GetPolicyStatusCMP0046()) + switch(depender->GetPolicyStatusCMP0046()) { case cmPolicies::WARN: e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0046) << "\n"; |