diff --git a/Source/cmake.h b/Source/cmake.h index db99a43e88..3f0c59887e 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -347,7 +347,8 @@ class cmake } void SetSuppressDevWarnings(bool v) { - this->SuppressDevWarnings = v; + this->SuppressDevWarnings = v; + this->DoSuppressDevWarnings = true; } /** Display a message to the user. */