summaryrefslogtreecommitdiffstats
path: root/Modules/CPackProductBuild.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-17 15:59:47 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-17 16:09:12 (GMT)
commit3287ba02540ae94d6b0105f84e930aa19cf61b19 (patch)
treeb5e49885822130c1e019ebf2419081cd20f3fc00 /Modules/CPackProductBuild.cmake
parentdbdd25bc95af100633008a31f1bbdf7146e211f7 (diff)
downloadCMake-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