summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-01 20:44:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-01 20:44:17 (GMT)
commitd7db2d086cf9d850c0b0644496ad59a2700ae3b5 (patch)
tree2bdd0b8f0f79a3542d21631dc468c522c79f2efa /Source/cmAddCustomTargetCommand.cxx
parentbd0447be7d65bb03a8b489755c7a75ece4aa9cbb (diff)
downloadCMake-d7db2d086cf9d850c0b0644496ad59a2700ae3b5.zip
CMake-d7db2d086cf9d850c0b0644496ad59a2700ae3b5.tar.gz
CMake-d7db2d086cf9d850c0b0644496ad59a2700ae3b5.tar.bz2
COMP: fix some warnings
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r--Source/cmAddCustomTargetCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx
index aaa2af0..3d9c1fe 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/Source/cmAddCustomTargetCommand.cxx
@@ -48,6 +48,7 @@ bool cmAddCustomTargetCommand
return false;
break;
case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
this->SetError(
this->Makefile->GetPolicies()->GetRequiredPolicyError
(cmPolicies::CMP_0001).c_str());