diff options
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 455c5ef..8f20ec5 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -748,7 +748,7 @@ bool cmSystemTools::IsOn(const char* val) bool cmSystemTools::IsOff(const char* val) { - if (!val) + if (!val || strlen(val) == 0) { return true; } |