Merge topic 'FindJNI-ppc64le'
ac2527e1
FindJNI: Add ppc64le architecture
This commit is contained in:
commit
59df48aaaa
|
@ -54,6 +54,8 @@ macro(java_append_library_directories _var)
|
||||||
# mips* machines are bi-endian mostly so processor does not tell
|
# mips* machines are bi-endian mostly so processor does not tell
|
||||||
# endianess of the underlying system.
|
# endianess of the underlying system.
|
||||||
set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb")
|
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")
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
|
||||||
set(_java_libarch "ppc64" "ppc")
|
set(_java_libarch "ppc64" "ppc")
|
||||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
||||||
|
|
Loading…
Reference in New Issue