mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
cmMakefile: Use std::string in ProjectName API.
This commit is contained in:
@@ -20,7 +20,7 @@ bool cmProjectCommand
|
||||
this->SetError("PROJECT called with incorrect number of arguments");
|
||||
return false;
|
||||
}
|
||||
this->Makefile->SetProjectName(args[0].c_str());
|
||||
this->Makefile->SetProjectName(args[0]);
|
||||
|
||||
std::string bindir = args[0];
|
||||
bindir += "_BINARY_DIR";
|
||||
|
||||
Reference in New Issue
Block a user