summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-26 21:14:49 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-26 22:03:40 (GMT)
commit84d124e8f02d5bba60d3491d4c5d7cb68aa91192 (patch)
tree80667afd4138057e180c7fbaf21267b53bfe4445 /Utilities
parentd2f2a2e226a8717d6fdb6df0ed4858d1629f557c (diff)
downloadCMake-84d124e8f02d5bba60d3491d4c5d7cb68aa91192.zip
CMake-84d124e8f02d5bba60d3491d4c5d7cb68aa91192.tar.gz
CMake-84d124e8f02d5bba60d3491d4c5d7cb68aa91192.tar.bz2
Fix lookup of source names after conversion to their actual case (#15259)
Since commit v3.1.0-rc1~688^2~15 (cmTarget: Add a method to obtain list of filenames for sources, 2014-03-17) we have code paths that lookup sources by strings containing their own full path after normalization to the actual case on disk. This fails in the case that a cmSourceFile has already been created with a different case in the filename. The comparison of the directory works because it is always normalized. Only the comparison of the file name fails. Fix this by using a case-insensitive comparison of source file names on platforms that do not have case-sensitive filesystems.
Diffstat (limited to 'Utilities')
0 files changed, 0 insertions, 0 deletions