Browse Source

Merge topic 'FindJNI-ppc64le'

ac2527e1 FindJNI: Add ppc64le architecture
Brad King 11 years ago
parent
commit
59df48aaaa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Modules/FindJNI.cmake

+ 2 - 0
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)")