Skip to content

Commit

Permalink
Use ARM64 webview for ARM64 systems
Browse files Browse the repository at this point in the history
Cherry-picked from prusa3d/PrusaSlicer@b11b454

Ref: prusa3d/PrusaSlicer#13116

Co-authored-by: Hernan Martinez <[email protected]>
  • Loading branch information
ElectricalBoy and hmartinez82 committed Jul 18, 2024
1 parent a675dbe commit 89322bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/cmake/lib/webview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ function(wx_webview_copy_webview2_loader target)

if(CMAKE_SIZEOF_VOID_P EQUAL 4)
set(WEBVIEW2_ARCH x86)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ARM64|aarch64)$")
set(WEBVIEW2_ARCH arm64)
else()
set(WEBVIEW2_ARCH x64)
endif()
Expand Down

0 comments on commit 89322bf

Please sign in to comment.