cmake: Fix loading CMake sources from long paths on Windows
The path passed to cmListFileParser::ParseFile()
is not in windows extended path format, which results in failure to open cmake files with paths greater than MAX_PATH
in the file lexer. This change calls cmSystemTools::ConvertToWindowsExtendedPath(filename)
in cmListFileParser::ParseFile()
to ensure the path is in the correct format.
Topic-rename: windows-long-path
Edited by Brad King