diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 24f4498af..ee30987f1 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -221,7 +221,7 @@ void cmQtAutoGenerators::SetupAutoGenerateTarget(cmTarget* target) cmCustomCommandLine currentLine; currentLine.push_back(makefile->GetSafeDefinition("CMAKE_COMMAND")); currentLine.push_back("-E"); - currentLine.push_back("cmake_automoc"); + currentLine.push_back("cmake_autogen"); currentLine.push_back(targetDir); currentLine.push_back("$"); diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 79a39696e..26251b3e6 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -632,7 +632,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector& args) { return cmcmd::ExecuteEchoColor(args); } - else if (args[1] == "cmake_automoc") + else if (args[1] == "cmake_autogen") { cmQtAutoGenerators autogen; const char *config = args[3].empty() ? 0 : args[3].c_str();