summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorDinar Valeev <dvaleev@suse.com>2014-02-18 00:08:55 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-18 13:30:51 (GMT)
commitac2527e1d988afa18e141a660ec542b7a3f7f352 (patch)
tree3d26e23fbdbb4a8e6384f602cf672e65af70347b /Modules/FindJNI.cmake
parentb486c6d49a1466e4b45014c50f44f74376e35ca7 (diff)
downloadCMake-ac2527e1d988afa18e141a660ec542b7a3f7f352.zip
CMake-ac2527e1d988afa18e141a660ec542b7a3f7f352.tar.gz
CMake-ac2527e1d988afa18e141a660ec542b7a3f7f352.tar.bz2
FindJNI: Add ppc64le architecture
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 669e3e2..6a496af 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -54,6 +54,8 @@ macro(java_append_library_directories _var)
# mips* machines are bi-endian mostly so processor does not tell
# endianess of the underlying system.
set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb")
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64le")
+ set(_java_libarch "ppc64le")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
set(_java_libarch "ppc64" "ppc")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")