mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
Autogen: Add per-config suffix to moc_predefs.h
moc_predefs.h is generated using per-config -D definitions and therefore must be configuration specific as well.
This commit is contained in:
parent
e2c9cf12d1
commit
ddd6f0db1e
@ -647,7 +647,9 @@ void cmQtAutoGenerators::Init(cmMakefile* makefile)
|
||||
|
||||
// Moc predefs file
|
||||
if (!this->MocPredefsCmd.empty()) {
|
||||
this->MocPredefsFileRel = "moc_predefs.h";
|
||||
this->MocPredefsFileRel = "moc_predefs";
|
||||
this->MocPredefsFileRel += this->ConfigSuffix;
|
||||
this->MocPredefsFileRel += ".h";
|
||||
this->MocPredefsFileAbs = cmSystemTools::CollapseCombinedPath(
|
||||
this->AutogenBuildDir, this->MocPredefsFileRel);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user