summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-26 14:25:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-08-26 14:26:52 (GMT)
commit65856616d73cd1e963a4b8dcc859efbb1f19ede2 (patch)
tree7469a7d774610a1a4a561cd870077cf69e665846 /Modules
parentcd03fb126ee6c1d903c743d8aaf397c0ce5115fe (diff)
parent44dffbcc94c5939cf4e81ab973a4a53ff706ecf3 (diff)
downloadCMake-65856616d73cd1e963a4b8dcc859efbb1f19ede2.zip
CMake-65856616d73cd1e963a4b8dcc859efbb1f19ede2.tar.gz
CMake-65856616d73cd1e963a4b8dcc859efbb1f19ede2.tar.bz2
Merge topic 'FindJNI-arm64'
44dffbcc94 FindJNI: Add arm64 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5162
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 3a5bd31..eff815d 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -59,6 +59,8 @@ macro(java_append_library_directories _var)
endif()
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
set(_java_libarch "i386")
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64")
+ set(_java_libarch "arm64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^alpha")
set(_java_libarch "alpha")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")