Add linux arm64

This commit is contained in:
FriwiDev
2021-11-16 15:39:07 +01:00
parent 903f82c696
commit 50f778a8c3
3 changed files with 39 additions and 5 deletions

View File

@@ -137,8 +137,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
set(CEF_PLATFORM "macosx64")
endif()
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
if(CMAKE_SIZEOF_VOID_P MATCHES 8)
if("${PROJECT_ARCH}" STREQUAL "amd64")
set(CEF_PLATFORM "linux64")
elseif("${PROJECT_ARCH}" STREQUAL "arm64")
set(CEF_PLATFORM "linuxarm64")
else()
set(CEF_PLATFORM "linux32")
endif()