diff options
author | Michael Karcher <kitware@mkarcher.dialup.fu-berlin.de> | 2023-04-21 09:22:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-04-25 17:45:37 (GMT) |
commit | e78abf94e325502da7ed4c09e9176de5ad700d4a (patch) | |
tree | b098bd4c5be2e996dd43f9fb4216afb1c5fe2591 /Modules/CMakeDetermineCompilerId.cmake | |
parent | 3cf8206412377e954ce8300cae2b76c678e0cb2f (diff) | |
download | CMake-e78abf94e325502da7ed4c09e9176de5ad700d4a.zip CMake-e78abf94e325502da7ed4c09e9176de5ad700d4a.tar.gz CMake-e78abf94e325502da7ed4c09e9176de5ad700d4a.tar.bz2 |
VS/Android: Use ApplicationTypeRevision 3.0 in VS2022
Visual Studio 17 (Marketing name: Visual Studio 2022) still ships with
"3.0" as most recent Variant of the Android application type.
Use this revision.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index 67044fb..c724008 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -432,7 +432,7 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS} if(id_keyword STREQUAL "Android") if(CMAKE_GENERATOR MATCHES "Visual Studio 14") set(id_system_version "<ApplicationTypeRevision>2.0</ApplicationTypeRevision>") - elseif(CMAKE_GENERATOR MATCHES "Visual Studio 1[56]") + elseif(CMAKE_GENERATOR MATCHES "Visual Studio 1[567]") set(id_system_version "<ApplicationTypeRevision>3.0</ApplicationTypeRevision>") else() set(id_system_version "") |