Merge topic 'FindJNI-ppc64le'

ac2527e1 FindJNI: Add ppc64le architecture
This commit is contained in:
Brad King 2014-02-19 08:34:26 -05:00 committed by CMake Topic Stage
commit 59df48aaaa
1 changed files with 2 additions and 0 deletions

View File

@ -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)")