diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index bb007ef88..d3ab36b84 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -376,7 +376,7 @@ bool cmSystemTools::IsInternallyOn(const char* val) { *c = static_cast(toupper(*c)); } - return (v == "I_ON" || v == "i_on"); + return v == "I_ON"; } bool cmSystemTools::IsOn(const char* val)