summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-19 19:28:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-19 19:28:41 (GMT)
commitaa2b3db3221c1d01b4bf4541d90aa8a768937903 (patch)
tree1f4c0970fb0d11462f68036062b3dde52e6b8ffb
parent3e3af1f507bcb43b7de35177cd694fe8124cae83 (diff)
parent8dc7501d509738606e1d00d23e00a4d28a17e832 (diff)
downloadCMake-aa2b3db3221c1d01b4bf4541d90aa8a768937903.zip
CMake-aa2b3db3221c1d01b4bf4541d90aa8a768937903.tar.gz
CMake-aa2b3db3221c1d01b4bf4541d90aa8a768937903.tar.bz2
Merge topic 'depend-scan-backslash-issue-10281'
8dc7501 Normalize slashes in scanned #include lines (#10281)
-rw-r--r--Source/cmDependsC.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index 942cb3f..a76b3af 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -448,6 +448,7 @@ void cmDependsC::Scan(std::istream& is, const char* directory,
// Get the file being included.
UnscannedEntry entry;
entry.FileName = this->IncludeRegexLine.match(2);
+ cmSystemTools::ConvertToUnixSlashes(entry.FileName);
if(this->IncludeRegexLine.match(3) == "\"" &&
!cmSystemTools::FileIsFullPath(entry.FileName.c_str()))
{