FindJNI: Add ppc64le architecture

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
This commit is contained in:
Dinar Valeev 2014-02-18 01:08:55 +01:00 committed by Brad King
parent b486c6d49a
commit ac2527e1d9
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)")