Skip to content

Commit

Permalink
Fix Linux arm64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cadivus committed Oct 22, 2024
1 parent fd15c60 commit 4ad6298
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ set(PROJECT_NAME "webview_cef")
project(${PROJECT_NAME} LANGUAGES CXX C)
set(CMAKE_CXX_STANDARD 17)

# Needed for making it run on arm64 Linux
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
set(PROJECT_ARCH "aarch64")
endif()

include(${CMAKE_CURRENT_SOURCE_DIR}/../third/download.cmake)
prepare_prebuilt_files(${CMAKE_CURRENT_SOURCE_DIR}/../third/cef)

Expand Down

0 comments on commit 4ad6298

Please sign in to comment.