diff options
author | Brad King <brad.king@kitware.com> | 2017-02-17 15:59:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-17 16:09:12 (GMT) |
commit | 3287ba02540ae94d6b0105f84e930aa19cf61b19 (patch) | |
tree | b5e49885822130c1e019ebf2419081cd20f3fc00 /Modules/CPackProductBuild.cmake | |
parent | dbdd25bc95af100633008a31f1bbdf7146e211f7 (diff) | |
download | CMake-3287ba02540ae94d6b0105f84e930aa19cf61b19.zip CMake-3287ba02540ae94d6b0105f84e930aa19cf61b19.tar.gz CMake-3287ba02540ae94d6b0105f84e930aa19cf61b19.tar.bz2 |
Make CMAKE_ROOT independent of case of path used to invoke cmake
We compute the location of `CMAKE_ROOT` and other resources relative to
the location of our own executable. On some platforms this path is
computed in a way that depends on the case of the path used to invoke
the executable. Convert the result to the actual case preserved by the
filesystem on disk in order to make it consistent regardless of how the
executable is launched.
This approach generalizes the fix made by commit v3.8.0-rc1~71^2
(cmSystemTools: use the actual case for root detection, 2017-01-18).
Issue: #16648
Diffstat (limited to 'Modules/CPackProductBuild.cmake')
0 files changed, 0 insertions, 0 deletions