summaryrefslogtreecommitdiffstats
path: root/Source/cmMessageCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-04 13:15:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-04 13:15:08 (GMT)
commit4a1173fda09afe8fd861b45b77d83260cec688df (patch)
tree94c333734a9f6360436a86b28d3cc02d49222e45 /Source/cmMessageCommand.cxx
parent331e791a3e18d8335960c0161d30dbe04e3a6fe5 (diff)
parent975426ceb339cf7a17f57ffba2757bb368669f93 (diff)
downloadCMake-4a1173fda09afe8fd861b45b77d83260cec688df.zip
CMake-4a1173fda09afe8fd861b45b77d83260cec688df.tar.gz
CMake-4a1173fda09afe8fd861b45b77d83260cec688df.tar.bz2
Merge topic 'cmake-W-options'
975426ce cmake: Do not treat developer warnings as errors by default in scripts
Diffstat (limited to 'Source/cmMessageCommand.cxx')
-rw-r--r--Source/cmMessageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index e09ba75..467555f 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -43,7 +43,7 @@ bool cmMessageCommand
}
else if (*i == "AUTHOR_WARNING")
{
- if (!this->Makefile->IsOn("CMAKE_SUPPRESS_DEVELOPER_ERRORS"))
+ if (this->Makefile->IsOn("CMAKE_ERROR_DEVELOPER_WARNINGS"))
{
fatal = true;
type = cmake::AUTHOR_ERROR;