ENH: remove debug print stuff
This commit is contained in:
parent
6e675ce602
commit
0b40b42b08
@ -132,7 +132,6 @@ cmStdString cmFindPathCommand::FindHeaderInFrameworks(
|
|||||||
cmStdString fileName = file;
|
cmStdString fileName = file;
|
||||||
cmStdString frameWorkName;
|
cmStdString frameWorkName;
|
||||||
cmStdString::size_type pos = fileName.find("/");
|
cmStdString::size_type pos = fileName.find("/");
|
||||||
std::cerr << "ff " << fileName << " " << pos << "\n";
|
|
||||||
if(pos != fileName.npos)
|
if(pos != fileName.npos)
|
||||||
{
|
{
|
||||||
// remove the name from the slash;
|
// remove the name from the slash;
|
||||||
@ -140,7 +139,6 @@ cmStdString cmFindPathCommand::FindHeaderInFrameworks(
|
|||||||
frameWorkName = file;
|
frameWorkName = file;
|
||||||
frameWorkName = frameWorkName.substr(0, frameWorkName.size()-fileName.size()-1);
|
frameWorkName = frameWorkName.substr(0, frameWorkName.size()-fileName.size()-1);
|
||||||
// if the framework has a path in it then just use the filename
|
// if the framework has a path in it then just use the filename
|
||||||
std::cerr << fileName << " " << frameWorkName << "\n";
|
|
||||||
if(frameWorkName.find("/") != frameWorkName.npos)
|
if(frameWorkName.find("/") != frameWorkName.npos)
|
||||||
{
|
{
|
||||||
fileName = file;
|
fileName = file;
|
||||||
@ -163,7 +161,6 @@ cmStdString cmFindPathCommand::FindHeaderInFrameworks(
|
|||||||
std::string intPath = fpath;
|
std::string intPath = fpath;
|
||||||
intPath += "/Headers/";
|
intPath += "/Headers/";
|
||||||
intPath += fileName;
|
intPath += fileName;
|
||||||
std::cerr << "try " << intPath << "\n";
|
|
||||||
if(cmSystemTools::FileExists(intPath.c_str()))
|
if(cmSystemTools::FileExists(intPath.c_str()))
|
||||||
{
|
{
|
||||||
return fpath;
|
return fpath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user