diff options
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 4b51ebe..4bec426 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -291,8 +291,8 @@ char *cmExpandVariablesInString(void *arg, const char *source, } -void cmExecuteCommand(void *arg, const char *name, - int numArgs, const char **args) +int cmExecuteCommand(void *arg, const char *name, + int numArgs, const char **args) { cmMakefile *mf = static_cast<cmMakefile *>(arg); cmListFileFunction lff; @@ -302,7 +302,7 @@ void cmExecuteCommand(void *arg, const char *name, // Assume all arguments are quoted. lff.m_Arguments.push_back(cmListFileArgument(args[i], true)); } - mf->ExecuteCommand(lff); + return mf->ExecuteCommand(lff); } void cmExpandSourceListArguments(void *arg, |