mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
Merge branch 'add-STRING-subcommand-FIND-issue-11795' into fix-2828-more-info-in-script-mode
This commit is contained in:
@@ -553,7 +553,7 @@ bool cmStringCommand::HandleFindCommand(std::vector<std::string> const&
|
||||
}
|
||||
if(std::string::npos != pos)
|
||||
{
|
||||
std::stringstream s;
|
||||
cmOStringStream s;
|
||||
s << pos;
|
||||
this->Makefile->AddDefinition(outvar.c_str(), s.str().c_str());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user