summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-09-27 13:49:13 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-09-28 22:07:32 (GMT)
commite0e9be3d575a255add19169d174c869fdebebbeb (patch)
tree9d8206c6415a65ff499e4fa8c411e568aaaf0f6d /Source/cmcmd.cxx
parent820962edc9dd7481c440068dd894c1026abf671d (diff)
downloadCMake-e0e9be3d575a255add19169d174c869fdebebbeb.zip
CMake-e0e9be3d575a255add19169d174c869fdebebbeb.tar.gz
CMake-e0e9be3d575a255add19169d174c869fdebebbeb.tar.bz2
Autogen: Make cmQtAutoRcc a free function
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index b6076db..f075e21 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1065,11 +1065,10 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
return autoGen.Run(infoFile, config) ? 0 : 1;
}
if ((args[1] == "cmake_autorcc") && (args.size() >= 3)) {
- cmQtAutoRcc autoRcc;
cm::string_view const infoFile = args[2];
cm::string_view const config =
(args.size() > 3) ? cm::string_view(args[3]) : cm::string_view();
- return autoRcc.Run(infoFile, config) ? 0 : 1;
+ return cmQtAutoRcc(infoFile, config) ? 0 : 1;
}
#endif