diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 0c8ae8d6a..106332892 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -497,10 +497,10 @@ cmNinjaTargetGenerator { escapedSourceFileName = cmSystemTools::CollapseFullPath( escapedSourceFileName.c_str(), - this->GetGlobalGenerator()->GetCMakeInstance()->GetHomeOutputDirectory()); + this->GetGlobalGenerator()->GetCMakeInstance()-> + GetHomeOutputDirectory()); } - compileObjectVars.Source = escapedSourceFileName.c_str(); compileObjectVars.Object = objectFileName.c_str(); compileObjectVars.Flags = vars["FLAGS"].c_str();