mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
Source sweep: Use cmIsOn instead of cmSystemTools::IsOn
This replaces invocations of - `cmSystemTools::IsInternallyOn` with `cmIsInternallyOn` - `cmSystemTools::IsNOTFOUND` with `cmIsNOTFOUND` - `cmSystemTools::IsOn` with `cmIsOn` - `cmSystemTools::IsOff` with `cmIsOff`
This commit is contained in:
@@ -22,7 +22,7 @@ bool cmGetFilenameComponentCommand::InitialPass(
|
||||
// already, if so use that value
|
||||
if (args.size() >= 4 && args.back() == "CACHE") {
|
||||
const char* cacheValue = this->Makefile->GetDefinition(args.front());
|
||||
if (cacheValue && !cmSystemTools::IsNOTFOUND(cacheValue)) {
|
||||
if (cacheValue && !cmIsNOTFOUND(cacheValue)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user