diff --git a/lib/importproject.cpp b/lib/importproject.cpp index a980ad660..9ca0c0766 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -413,13 +413,13 @@ static void importPropertyGroup(const tinyxml2::XMLElement *node, std::map *variables, std::string *includePath, const std::string &additionalIncludeDirectories, std::list &itemDefinitionGroupList) { std::string filename(props); - // variables cant be resolved + // variables cant be resolved if (!simplifyPathWithVariables(filename, *variables)) return; - // prepend project dir (if it exists) to transform relative paths into absolute ones - if (!Path::isAbsolute(filename) && variables->count("ProjectDir") > 0) - filename = Path::getAbsoluteFilePath(variables->at("ProjectDir") + filename); + // prepend project dir (if it exists) to transform relative paths into absolute ones + if (!Path::isAbsolute(filename) && variables->count("ProjectDir") > 0) + filename = Path::getAbsoluteFilePath(variables->at("ProjectDir") + filename); tinyxml2::XMLDocument doc; if (doc.LoadFile(filename.c_str()) != tinyxml2::XML_SUCCESS)