BUG: fix for #8423

This commit is contained in:
Bill Hoffman 2009-01-29 11:39:03 -05:00
parent 56ea0ad186
commit 33c296a44e
2 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,8 @@ bool cmGetFilenameComponentCommand
}
// Collapse the path to its simplest form.
result = cmSystemTools::CollapseFullPath(filename.c_str());
filename = cmSystemTools::CollapseFullPath(filename.c_str());
result = cmSystemTools::GetRealPath(filename.c_str());
}
else
{

View File

@ -14,6 +14,7 @@ AddCMakeTest(VariableWatch "")
AddCMakeTest(Include "")
AddCMakeTest(FindBase "")
AddCMakeTest(Toolchain "")
AddCMakeTest(GetFilenameComponentSymlinks "")
SET(GetPrerequisites_PreArgs
"-DCTEST_CONFIGURATION_TYPE:STRING=\\\${CTEST_CONFIGURATION_TYPE}"