Skip to content

Commit

Permalink
updated macos triplet for vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlac authored Oct 13, 2023
1 parent f939626 commit d9e20d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/vcpkg-init.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if (NOT VCPKG_TARGET_TRIPLET)
set(VCPKG_TARGET_TRIPLET "x64-windows-static-md")
elseif(APPLE)
if ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
set(VCPKG_TARGET_TRIPLET "arm64-macos")
set(VCPKG_TARGET_TRIPLET "arm64-osx")
else()
set(VCPKG_TARGET_TRIPLET "x64-macos")
set(VCPKG_TARGET_TRIPLET "x64-osx")
endif()
elseif(UNIX)
set(VCPKG_TARGET_TRIPLET "x64-linux")
Expand Down

0 comments on commit d9e20d8

Please sign in to comment.