aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2023-05-04 15:24:18 -0700
committerGerald Combs <gerald@wireshark.org>2023-05-05 23:01:35 +0000
commit98a19a85a5f132139bcd1beabe9b1df652bfb94c (patch)
tree303446e3eedfe4242cd3deffefbd88aca8654efa /cmake/modules
parent6938e93170ba57e07b57b85bbe084ef9f7dd8950 (diff)
CMake+tools: Add Visual C++ Arm64 support
Add support for building for Windows on Arm64 using Visual C++ to the CMake environment. Add our initial batch of packages to win-setup.ps1. Ping #18123
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindWSWinLibs.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindWSWinLibs.cmake b/cmake/modules/FindWSWinLibs.cmake
index 60f5a2ac8e..4b3f3313e1 100644
--- a/cmake/modules/FindWSWinLibs.cmake
+++ b/cmake/modules/FindWSWinLibs.cmake
@@ -23,8 +23,8 @@ function( FindWSWinLibs _WS_LIB_SEARCH_PATH _LIB_HINT_VAR )
file( GLOB _SUBDIR "${_PROJECT_LIB_DIR}/*" )
# We might be able to use $ENV{VSCMD_ARG_TGT_ARCH} here.
set (_vcpkg_arch x64)
- if(WIRESHARK_TARGET_PLATFORM MATCHES "win32")
- set (_vcpkg_arch x86)
+ if(WIRESHARK_TARGET_PLATFORM MATCHES win64arm)
+ set (_vcpkg_arch arm64)
endif()
foreach( _DIR ${_SUBDIR} )