summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-10-31 15:27:38 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-31 15:46:15 (GMT)
commit978c98b7bda6286d153c7b942509a92b66cb8fbc (patch)
tree591789ce03a04d60ad1dbcb09c85495895e8e2be
parentddeabf05d80db0758708ec502a68def11b4f9591 (diff)
downloadCMake-978c98b7bda6286d153c7b942509a92b66cb8fbc.zip
CMake-978c98b7bda6286d153c7b942509a92b66cb8fbc.tar.gz
CMake-978c98b7bda6286d153c7b942509a92b66cb8fbc.tar.bz2
Autogen: Don't add AUTOMOC_MOC_OPTIONS to moc-predefs command
Issue: #17418
-rw-r--r--Source/cmQtAutoGenerators.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index d12d96d..c3ecb51 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -1268,9 +1268,6 @@ bool cmQtAutoGenerators::MocGenerateAll(
it != this->MocDefinitions.end(); ++it) {
cmd.push_back("-D" + (*it));
}
- // Add options
- cmd.insert(cmd.end(), this->MocOptions.begin(),
- this->MocOptions.end());
// Execute command
if (!this->RunCommand(cmd, output, false)) {
{