diff options
author | Brad King <brad.king@kitware.com> | 2021-10-20 16:07:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-20 17:00:25 (GMT) |
commit | 42418b02f769858d68ce21a58dab3025d30f31a2 (patch) | |
tree | 30d20049be4391600dc9d4b7ec22780456f450be /Source/cmFindCommon.h | |
parent | 44a86d0b3890848e2df702dc87d625a19216641e (diff) | |
download | CMake-42418b02f769858d68ce21a58dab3025d30f31a2.zip CMake-42418b02f769858d68ce21a58dab3025d30f31a2.tar.gz CMake-42418b02f769858d68ce21a58dab3025d30f31a2.tar.bz2 |
Android: Refactor sysroot detection under Visual Studio
Since commit 6051a49c78 (Visual Studio: Add Android support, 2020-06-12,
v3.19.0-rc1~619^2) we run MSBuild to build a sample project to detect
the sysroot. Previously we relied on `CMAKE_VS_MSBUILD_COMMAND` being
available. That required commit d5b5c19278 (cmGlobalGenerator:
FindMakeProgram() before CMakeDetermineSystem, 2020-06-15,
v3.19.0-rc1~619^2~3) to make it available early enough. However, that
ordering broke `CMAKE_GENERATOR_INSTANCE` so we need to prepare to
revert it. Use `cmake_host_system_information` to get the location of
MSBuild under a VS generator instead.
Diffstat (limited to 'Source/cmFindCommon.h')
0 files changed, 0 insertions, 0 deletions