mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03: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:
1 parent
e2c9cf12d1
commit
ddd6f0db1e
1 file changed
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user