This commit is contained in:
Sacha 2024-11-02 12:55:04 +00:00 committed by GitHub
commit d9eb0522b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ if(CMAKE_CROSSCOMPILING AND NOT DEFINED TARGET)
set(TARGET "ARMV8")
elseif(ARM)
set(TARGET "ARMV7") # TODO: Ask compiler which arch this is
elseif(X86_64)
set(TARGET "PENRYN")
elseif(X86)
set(TARGET "CORE2")
else()
message(FATAL_ERROR "When cross compiling, a TARGET is required.")
endif()