summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioWCEPlatformParser.h
diff options
context:
space:
mode:
authorPavel P <pavlov.pavel@gmail.com>2018-01-21 08:39:18 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-24 13:59:33 (GMT)
commitc3b80e86640630036e855775692268531e94f3c1 (patch)
tree0488c81bc0be1829594ec4fd1e9c5f23ba63d60c /Source/cmVisualStudioWCEPlatformParser.h
parent06d607271ed73c2540647c6d257f8deacd86ecae (diff)
downloadCMake-c3b80e86640630036e855775692268531e94f3c1.zip
CMake-c3b80e86640630036e855775692268531e94f3c1.tar.gz
CMake-c3b80e86640630036e855775692268531e94f3c1.tar.bz2
Windows: Add support for running CMake tools through a symlink
When `cmake.exe` is executed through a symlink, `GetModuleFileNameW` will return location of the link instead of the real path of `cmake.exe`. This results in the following error output: CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Use `cmSystemTools::GetRealPath` in `FindCMakeResources` on Windows to resolve any symlink returned by `GetModuleFileNameW`.
Diffstat (limited to 'Source/cmVisualStudioWCEPlatformParser.h')
0 files changed, 0 insertions, 0 deletions