mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Use cmSystemTools::GetCMakeCommand() to get path to cmake internally
This is much simpler than finding a way to lookup "CMAKE_COMMAND" everywhere.
This commit is contained in:
@@ -99,7 +99,7 @@ cmLocalVisualStudioGenerator::MaybeCreateImplibDir(cmTarget& target,
|
||||
|
||||
// Add a pre-build event to create the directory.
|
||||
cmCustomCommandLine command;
|
||||
command.push_back(this->Makefile->GetRequiredDefinition("CMAKE_COMMAND"));
|
||||
command.push_back(cmSystemTools::GetCMakeCommand());
|
||||
command.push_back("-E");
|
||||
command.push_back("make_directory");
|
||||
command.push_back(impDir);
|
||||
|
||||
Reference in New Issue
Block a user