mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -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:
@@ -608,7 +608,7 @@ int CCONV cmSourceFileGetPropertyAsBool(void* arg, const char* prop)
|
||||
if (cmSourceFile* rsf = sf->RealSourceFile) {
|
||||
return rsf->GetPropertyAsBool(prop) ? 1 : 0;
|
||||
}
|
||||
return cmSystemTools::IsOn(cmSourceFileGetProperty(arg, prop)) ? 1 : 0;
|
||||
return cmIsOn(cmSourceFileGetProperty(arg, prop)) ? 1 : 0;
|
||||
}
|
||||
|
||||
void CCONV cmSourceFileSetProperty(void* arg, const char* prop,
|
||||
|
||||
Reference in New Issue
Block a user