You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
719 B
13 lines
719 B
7 years ago
|
diff -Nrup a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
|
||
|
--- a/Modules/FindJNI.cmake 2013-05-15 13:38:12.000000000 -0400
|
||
|
+++ b/Modules/FindJNI.cmake 2014-08-20 11:12:51.011021582 -0400
|
||
|
@@ -45,6 +45,8 @@ macro(java_append_library_directories _v
|
||
|
# 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 "ppc64" "ppc64le")
|
||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
|
||
|
set(_java_libarch "ppc64")
|
||
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|