|
@@ -24,6 +24,7 @@
|
|
|
|
|
|
#include "cmsys/SystemInformation.hxx"
|
|
#include "cmsys/SystemInformation.hxx"
|
|
|
|
|
|
|
|
+#include "cmAlgorithms.h"
|
|
#include "cmCustomCommand.h"
|
|
#include "cmCustomCommand.h"
|
|
#include "cmCustomCommandLines.h"
|
|
#include "cmCustomCommandLines.h"
|
|
#include "cmGeneratedFileStream.h"
|
|
#include "cmGeneratedFileStream.h"
|
|
@@ -522,6 +523,8 @@ bool cmQtAutoGenInitializer::InitCustomTargets()
|
|
// Filters
|
|
// Filters
|
|
cmExpandList(this->GenTarget->GetSafeProperty("AUTOMOC_MACRO_NAMES"),
|
|
cmExpandList(this->GenTarget->GetSafeProperty("AUTOMOC_MACRO_NAMES"),
|
|
this->Moc.MacroNames);
|
|
this->Moc.MacroNames);
|
|
|
|
+ this->Moc.MacroNames.erase(cmRemoveDuplicates(this->Moc.MacroNames),
|
|
|
|
+ this->Moc.MacroNames.end());
|
|
{
|
|
{
|
|
auto filterList = cmExpandedList(
|
|
auto filterList = cmExpandedList(
|
|
this->GenTarget->GetSafeProperty("AUTOMOC_DEPEND_FILTERS"));
|
|
this->GenTarget->GetSafeProperty("AUTOMOC_DEPEND_FILTERS"));
|