mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -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:
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
@@ -87,7 +87,7 @@ bool cmSetSourceFilesPropertiesCommand::RunCommand(
|
||||
propertyPairs.push_back(*j);
|
||||
if (*j == "GENERATED") {
|
||||
++j;
|
||||
if (j != propend && cmSystemTools::IsOn(*j)) {
|
||||
if (j != propend && cmIsOn(*j)) {
|
||||
generated = true;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user