summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-09-23 11:21:10 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-09-25 08:31:06 (GMT)
commit881e3cfbf96c7b4f48304d3dfc07899c2e6703de (patch)
tree2bc1dc0698e233e123056f670c8af484d469a073 /Source/cmcmd.cxx
parentfc36f4410bcdb76ef23a07e5172cb57b41ff5ce3 (diff)
downloadCMake-881e3cfbf96c7b4f48304d3dfc07899c2e6703de.zip
CMake-881e3cfbf96c7b4f48304d3dfc07899c2e6703de.tar.gz
CMake-881e3cfbf96c7b4f48304d3dfc07899c2e6703de.tar.bz2
Autogen: Variable renames and cleanups
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 211fd4c..bf856d7 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1058,18 +1058,18 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
#ifndef CMAKE_BOOTSTRAP
if ((args[1] == "cmake_autogen") && (args.size() >= 4)) {
cmQtAutoMocUic autoGen;
- std::string const& infoDir = args[2];
+ std::string const& infoFile = args[2];
std::string const& config = args[3];
- return autoGen.Run(infoDir, config) ? 0 : 1;
+ return autoGen.Run(infoFile, config) ? 0 : 1;
}
if ((args[1] == "cmake_autorcc") && (args.size() >= 3)) {
- cmQtAutoRcc autoGen;
+ cmQtAutoRcc autoRcc;
std::string const& infoFile = args[2];
std::string config;
if (args.size() > 3) {
config = args[3];
}
- return autoGen.Run(infoFile, config) ? 0 : 1;
+ return autoRcc.Run(infoFile, config) ? 0 : 1;
}
#endif