mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
Autogen: Register generated dependency files
For CMP0058 record that rcc info files are generated by CMake. Fixes: #17985
This commit is contained in:
committed by
Brad King
parent
fbe6cd1596
commit
e461a136c1
@@ -994,6 +994,9 @@ void cmQtAutoGenInitializer::SetupCustomTargets()
|
||||
// Generate auto RCC info files
|
||||
if (this->RccEnabled) {
|
||||
for (Qrc const& qrc : this->Qrcs) {
|
||||
// Register rcc info file as generated
|
||||
makefile->AddCMakeOutputFile(qrc.InfoFile);
|
||||
|
||||
cmGeneratedFileStream ofs;
|
||||
ofs.SetCopyIfDifferent(true);
|
||||
ofs.Open(qrc.InfoFile.c_str(), false, true);
|
||||
|
||||
Reference in New Issue
Block a user