summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 3dcfbf1..43a945f 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1433,17 +1433,13 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args,
if ((args[1] == "cmake_autogen") && (args.size() >= 4)) {
cm::string_view const infoFile = args[2];
cm::string_view const config = args[3];
- cm::string_view const executableConfig =
- (args.size() >= 5) ? cm::string_view(args[4]) : cm::string_view();
- return cmQtAutoMocUic(infoFile, config, executableConfig) ? 0 : 1;
+ return cmQtAutoMocUic(infoFile, config) ? 0 : 1;
}
if ((args[1] == "cmake_autorcc") && (args.size() >= 3)) {
cm::string_view const infoFile = args[2];
cm::string_view const config =
(args.size() > 3) ? cm::string_view(args[3]) : cm::string_view();
- cm::string_view const executableConfig =
- (args.size() >= 5) ? cm::string_view(args[4]) : cm::string_view();
- return cmQtAutoRcc(infoFile, config, executableConfig) ? 0 : 1;
+ return cmQtAutoRcc(infoFile, config) ? 0 : 1;
}
#endif