aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/vcpkg-cmake/vcpkg.json2
-rw-r--r--ports/vcpkg-cmake/vcpkg_cmake_configure.cmake13
2 files changed, 14 insertions, 1 deletions
diff --git a/ports/vcpkg-cmake/vcpkg.json b/ports/vcpkg-cmake/vcpkg.json
index 96134a850..49b138717 100644
--- a/ports/vcpkg-cmake/vcpkg.json
+++ b/ports/vcpkg-cmake/vcpkg.json
@@ -1,4 +1,4 @@
{
"name": "vcpkg-cmake",
- "version-date": "2021-07-30"
+ "version-date": "2021-09-13"
}
diff --git a/ports/vcpkg-cmake/vcpkg_cmake_configure.cmake b/ports/vcpkg-cmake/vcpkg_cmake_configure.cmake
index 801db0166..c9657bfa9 100644
--- a/ports/vcpkg-cmake/vcpkg_cmake_configure.cmake
+++ b/ports/vcpkg-cmake/vcpkg_cmake_configure.cmake
@@ -207,6 +207,19 @@ function(vcpkg_cmake_configure)
else()
set(generator)
endif()
+ elseif(VCPKG_PLATFORM_TOOLSET STREQUAL "v143")
+ set(generator "Visual Studio 17 2022")
+ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
+ set(arch "Win32")
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
+ set(arch "x64")
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
+ set(arch "ARM")
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
+ set(arch "ARM64")
+ else()
+ set(generator)
+ endif()
endif()
else()
set(generator "Ninja")