summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-17 15:08:50 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-17 15:08:50 (GMT)
commit71c29d11b3d089dbc9fb403ceed7999419615810 (patch)
tree3fd405328f3d5df0cef63d893dfae2b2935f2e14 /Source/cmake.cxx
parentafb3edc18149f48be6e1690c7d9b1c8f6816a056 (diff)
downloadCMake-71c29d11b3d089dbc9fb403ceed7999419615810.zip
CMake-71c29d11b3d089dbc9fb403ceed7999419615810.tar.gz
CMake-71c29d11b3d089dbc9fb403ceed7999419615810.tar.bz2
Fix bootstrap test with automoc
Alex
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index c5eff1c..99b1844 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1573,14 +1573,13 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
{
return cmake::ExecuteEchoColor(args);
}
-#endif
-
else if (args[1] == "cmake_automoc")
{
cmQtAutomoc automoc;
automoc.Run(args[2].c_str());
return 0;
}
+#endif
// Tar files
else if (args[1] == "tar" && args.size() > 3)