freerdp/freerdp-aarch64.patch

24 lines
811 B
Diff
Raw Normal View History

2015-03-13 01:01:30 +00:00
diff --git a/cmake/ConfigOptions.cmake b/cmake/ConfigOptions.cmake
index 87ffefe..7eacca5 100644
2015-03-13 01:01:30 +00:00
--- a/cmake/ConfigOptions.cmake
+++ b/cmake/ConfigOptions.cmake
@@ -6,6 +6,8 @@ elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64") AND (CMAKE_SIZEOF_VOID_P
2014-06-07 19:53:39 +00:00
elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE))
# Mac is weird like that.
set(TARGET_ARCH "x64")
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
+ set(TARGET_ARCH "AARCH64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
2014-06-07 19:53:39 +00:00
set(TARGET_ARCH "ARM")
endif()
@@ -20,6 +22,9 @@ else()
2014-06-07 19:53:39 +00:00
option(WITH_SSE2 "Enable SSE2 optimization." OFF)
endif()
+if(TARGET_ARCH MATCHES "AARCH64")
+endif()
+
if(TARGET_ARCH MATCHES "ARM")
if (NOT DEFINED WITH_NEON)
option(WITH_NEON "Enable NEON optimization." ON)