summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-06-28 21:45:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-06-28 21:45:54 (GMT)
commita7f7366abdff30b8891a2d4c94e33f4e4760c42b (patch)
tree2728b2942d3a7a8bbd62aa13c0a490a8aa9ec5b3 /Source/cmSystemTools.cxx
parent850d74f67f44514ab9eaa078bc44a43987e3a3fa (diff)
downloadCMake-a7f7366abdff30b8891a2d4c94e33f4e4760c42b.zip
CMake-a7f7366abdff30b8891a2d4c94e33f4e4760c42b.tar.gz
CMake-a7f7366abdff30b8891a2d4c94e33f4e4760c42b.tar.bz2
ENH: various fixes to allow bootstrap on sunos with CC
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
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;
}