diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2017-01-18 15:06:23 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2017-01-18 15:08:40 (GMT) |
commit | 7f0a21a51eb483c523a2c8880ce4e0466251ec74 (patch) | |
tree | 9a5fe90c4c3195f001d40161011ea96a8bd88b4f /Source/cmHexFileConverter.h | |
parent | 5cfc2e926af645840c6a0464451af18f08528879 (diff) | |
download | CMake-7f0a21a51eb483c523a2c8880ce4e0466251ec74.zip CMake-7f0a21a51eb483c523a2c8880ce4e0466251ec74.tar.gz CMake-7f0a21a51eb483c523a2c8880ce4e0466251ec74.tar.bz2 |
cmSystemTools: use the actual case for root detection
On Windows, calling a binary installed with the default `bin` binary
directory will fail to be detected when called as `BIN\cmake.exe` due to
the string compare. Get the actual case of the path before checking that
the path ends with `CMAKE_BIN_DIR`.
Fixes #16574.
Diffstat (limited to 'Source/cmHexFileConverter.h')
0 files changed, 0 insertions, 0 deletions