summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-19 13:34:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-02-19 13:34:26 (GMT)
commit59df48aaaaa2722b9847a3bf1855c6c6ff838366 (patch)
treea7602611123e9c5e08b9246ed786f52ee50fded8 /Modules
parent9304d09613195e2c52208bd1cc6303f0c53a4ce8 (diff)
parentac2527e1d988afa18e141a660ec542b7a3f7f352 (diff)
downloadCMake-59df48aaaaa2722b9847a3bf1855c6c6ff838366.zip
CMake-59df48aaaaa2722b9847a3bf1855c6c6ff838366.tar.gz
CMake-59df48aaaaa2722b9847a3bf1855c6c6ff838366.tar.bz2
Merge topic 'FindJNI-ppc64le'
ac2527e1 FindJNI: Add ppc64le architecture
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 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)")