mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
This commit is contained in:
@@ -46,10 +46,9 @@ bool cmIncludeExternalMSProjectCommand
|
||||
utility_name += args[0];
|
||||
std::string path = args[1];
|
||||
cmSystemTools::ConvertToUnixSlashes(path);
|
||||
const char* no_output = 0;
|
||||
const char* no_working_directory = 0;
|
||||
this->Makefile->AddUtilityCommand(utility_name.c_str(), true,
|
||||
no_output, depends,
|
||||
depends,
|
||||
no_working_directory,
|
||||
args[0].c_str(), path.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user