diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2001-08-29 13:26:55 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2001-08-29 13:26:55 (GMT) |
commit | 582fe4b51fdc9679cfa139793a696bd3318e6497 (patch) | |
tree | 8c238f0456ff73f2abf1663cf34af39886464a0b /Source/cmSystemTools.cxx | |
parent | 85d241faa0385f584f939d6d818ed3f4925cd51b (diff) | |
download | CMake-582fe4b51fdc9679cfa139793a696bd3318e6497.zip CMake-582fe4b51fdc9679cfa139793a696bd3318e6497.tar.gz CMake-582fe4b51fdc9679cfa139793a696bd3318e6497.tar.bz2 |
ENH: Special value IGNORE behaves like NOTFOUND, but makes FindLibrary, etc,
_not_ search for a library, etc.
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 557a80d..1494a34 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -819,7 +819,7 @@ bool cmSystemTools::IsOff(const char* val) *c = toupper(*c); } return (v == "OFF" || v == "0" || v == "NO" || v == "FALSE" || - v == "N" || v == "NOTFOUND"); + v == "N" || v == "NOTFOUND" || v == "IGNORE"); } |