Merge topic 'FindJNI-ppc64le'

18ac6713 FindJNI: search for ppc64 on ppc64le as well
This commit is contained in:
Brad King 2014-07-02 09:54:46 -04:00 committed by CMake Topic Stage
commit 164bd68a03
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ macro(java_append_library_directories _var)
# 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")
set(_java_libarch "ppc64" "ppc64le")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
set(_java_libarch "ppc64" "ppc")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")