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