Merge topic 'AutomocFixDuplicatedFiles_13572'

3446cb5 Automoc: fix #13572: issue with symbolic links
This commit is contained in:
David Cole 2012-10-17 16:44:14 -04:00 committed by CMake Topic Stage
commit f7db7d735d
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
++fileIt)
{
cmSourceFile* sf = *fileIt;
std::string absFile = sf->GetFullPath();
std::string absFile = cmsys::SystemTools::GetRealPath(
sf->GetFullPath().c_str());
bool skip = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC"));
bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));