diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-01 15:40:25 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-01 16:02:53 (GMT) |
commit | 6d407ae439f1db086dd7a3675c8efce93a19fed3 (patch) | |
tree | 64ad3eaae4121fdba981a1f37931fa261b1c5966 /Source/cmQtAutoGenInitializer.cxx | |
parent | 2ddf3f4467bdd600027dd3532515d05d44996871 (diff) | |
download | CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.zip CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.gz CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.bz2 |
Use cmSourceFile::GetIsGenerated
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index caeed15..41d29e8 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -686,7 +686,7 @@ bool cmQtAutoGenInitializer::InitScanFiles() if ((this->Moc.Enabled && !sf->GetPropertyAsBool("SKIP_AUTOMOC")) || (this->Uic.Enabled && !sf->GetPropertyAsBool("SKIP_AUTOUIC"))) { // Register source - const bool generated = sf->GetPropertyAsBool("GENERATED"); + const bool generated = sf->GetIsGenerated(); if (fileType == cmSystemTools::HEADER_FILE_FORMAT) { if (generated) { this->AutogenTarget.HeadersGenerated.push_back(absPath); @@ -712,7 +712,7 @@ bool cmQtAutoGenInitializer::InitScanFiles() qrc.QrcFile = cmSystemTools::GetRealPath(fPath); qrc.QrcName = cmSystemTools::GetFilenameWithoutLastExtension(qrc.QrcFile); - qrc.Generated = sf->GetPropertyAsBool("GENERATED"); + qrc.Generated = sf->GetIsGenerated(); // RCC options { std::string const opts = sf->GetSafeProperty("AUTORCC_OPTIONS"); |