summaryrefslogtreecommitdiff
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-21 01:17:15 +0200
committerBrad King <brad.king@kitware.com>2019-09-26 10:04:03 -0400
commit5a06efda05feda02511592c76134ee8ed3e8b650 (patch)
tree4bd8dca46fcc5f1af0bb5c92792ab33b103e02f6 /Source/cmCPluginAPI.cxx
parentea1bed34b2ba16f3971b90996dc345834f0d9699 (diff)
downloadcmake-5a06efda05feda02511592c76134ee8ed3e8b650.tar.gz
cmMakefile: Remove AddUtilityCommand overload without byproducts
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 29d2495de7..78a232e586 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -220,8 +220,10 @@ void CCONV cmAddUtilityCommand(void* arg, const char* utilityName,
}
// Pass the call to the makefile instance.
+ std::vector<std::string> no_byproducts;
mf->AddUtilityCommand(utilityName, cmCommandOrigin::Project,
- (all ? false : true), nullptr, depends2, commandLines);
+ (all ? false : true), nullptr, no_byproducts, depends2,
+ commandLines);
}
void CCONV cmAddCustomCommand(void* arg, const char* source,
const char* command, int numArgs,