From ac2527e1d988afa18e141a660ec542b7a3f7f352 Mon Sep 17 00:00:00 2001 From: Dinar Valeev Date: Tue, 18 Feb 2014 01:08:55 +0100 Subject: [PATCH] FindJNI: Add ppc64le architecture Signed-off-by: Dinar Valeev --- Modules/FindJNI.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 669e3e28a..6a496aff9 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)")