diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-05 10:27:11 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-05 10:27:11 (GMT) |
commit | ddd6f0db1ea7e1cda13ce7f86361193548a6c47d (patch) | |
tree | 5f50e21c6d263d9f303b32974220e76d80d955b5 /Source | |
parent | e2c9cf12d12c23a0ef68801b8a9ac4b832ea88bc (diff) | |
download | CMake-ddd6f0db1ea7e1cda13ce7f86361193548a6c47d.zip CMake-ddd6f0db1ea7e1cda13ce7f86361193548a6c47d.tar.gz CMake-ddd6f0db1ea7e1cda13ce7f86361193548a6c47d.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index a8ffe3c..56267d0 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -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); } |