mirror of
https://github.com/reactos/CMake.git
synced 2025-01-09 05:00:35 +00:00
cmLocalGenerator: Use a std::string instead of char*
This commit is contained in:
parent
cbca80f351
commit
011e6870e4
@ -1431,8 +1431,9 @@ void cmLocalGenerator::OutputLinkLibraries(
|
||||
std::string fwSearchFlagVar = "CMAKE_";
|
||||
fwSearchFlagVar += linkLanguage;
|
||||
fwSearchFlagVar += "_FRAMEWORK_SEARCH_FLAG";
|
||||
const char* fwSearchFlag = this->Makefile->GetDefinition(fwSearchFlagVar);
|
||||
if (fwSearchFlag && *fwSearchFlag) {
|
||||
std::string fwSearchFlag =
|
||||
this->Makefile->GetSafeDefinition(fwSearchFlagVar);
|
||||
if (!fwSearchFlag.empty()) {
|
||||
std::vector<std::string> const& fwDirs = cli.GetFrameworkPaths();
|
||||
for (std::vector<std::string>::const_iterator fdi = fwDirs.begin();
|
||||
fdi != fwDirs.end(); ++fdi) {
|
||||
|
Loading…
Reference in New Issue
Block a user