summaryrefslogtreecommitdiffstats
path: root/Modules/FindGnuTLS.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-14 17:14:23 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-14 17:19:18 (GMT)
commit5c50eeaffc334891af73f3a72557693c86ee380e (patch)
tree7629988c9a45d1a1d0c475148062e0733f2d5d8e /Modules/FindGnuTLS.cmake
parentbf02d625325535f485512eba307cff54c08bb257 (diff)
downloadCMake-5c50eeaffc334891af73f3a72557693c86ee380e.zip
CMake-5c50eeaffc334891af73f3a72557693c86ee380e.tar.gz
CMake-5c50eeaffc334891af73f3a72557693c86ee380e.tar.bz2
VS: Fix x64 host recognition by x86 cmake process
In commit 57e48f16f2 (VS: Add Visual Studio 16 2019 generator, 2019-01-09, v3.14.0-rc1~150^2) and commit 0fd742a6ff (VS: Teach VS 2019 generator to select host tools matching host arch, 2019-01-28, v3.14.0-rc1~63^2) we intended to select the `x64` target architecture and `x64` host tools by default on x64 host machines. Fix detection of a x64 host when CMake itself is a 32-bit x86 process. The KWSys SystemInformation `Is64Bits` member is not set correctly, which led to this bug. Pending investigation on the KWSys side, simply test ourselves via `IsWow64Process`.
Diffstat (limited to 'Modules/FindGnuTLS.cmake')
0 files changed, 0 insertions, 0 deletions