Merge topic 'AutomocFixDuplicatedFiles_13572'
3446cb5
Automoc: fix #13572: issue with symbolic links
This commit is contained in:
commit
f7db7d735d
|
@ -170,7 +170,8 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
|
||||||
++fileIt)
|
++fileIt)
|
||||||
{
|
{
|
||||||
cmSourceFile* sf = *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 skip = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC"));
|
||||||
bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));
|
bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue