diff options
author | Brad King <brad.king@kitware.com> | 2014-03-10 13:33:25 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-10 13:33:25 (GMT) |
commit | 7b0efcded38c17f9d08580c448e7a71d43261100 (patch) | |
tree | ff32b48597f778399321fd49d3a2625c743a8d91 /Source/cmComputeTargetDepends.cxx | |
parent | 6f15484368c26b0b617dcfc4307bd1810d899cbe (diff) | |
parent | 50fd0a33c98245bbaaea3e772d0d98fb95d65c71 (diff) | |
download | CMake-7b0efcded38c17f9d08580c448e7a71d43261100.zip CMake-7b0efcded38c17f9d08580c448e7a71d43261100.tar.gz CMake-7b0efcded38c17f9d08580c448e7a71d43261100.tar.bz2 |
Merge topic 'fix-policy-scopes'
50fd0a33 Tests: Simplify and document policy scopes in RunCMake.CMP* tests
b1bbee3e Record more policies on targets when created
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 10041db..5c739b8 100644 --- a/Source/cmComputeTargetDepends.cxx +++ b/Source/cmComputeTargetDepends.cxx @@ -349,7 +349,7 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index, cmMakefile *makefile = depender->GetMakefile(); cmake::MessageType messageType = cmake::AUTHOR_WARNING; bool issueMessage = false; - switch(makefile->GetPolicyStatus(cmPolicies::CMP0046)) + switch(depender->GetPolicyStatusCMP0046()) { case cmPolicies::WARN: issueMessage = true; |