summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorDinar Valeev <dvaleev@suse.com>2014-06-30 16:29:20 (GMT)
committerDinar Valeev <dvaleev@suse.com>2014-07-01 10:07:37 (GMT)
commit18ac6713e8657cca8fc791bcd581a47a7be6ebce (patch)
treec2b07a7f7139ebe48c3c4a7b4c9dbad575fe6d5d /Modules/FindJNI.cmake
parentad8442075d1cd802adcd4b9a25b93901c1faaa3f (diff)
downloadCMake-18ac6713e8657cca8fc791bcd581a47a7be6ebce.zip
CMake-18ac6713e8657cca8fc791bcd581a47a7be6ebce.tar.gz
CMake-18ac6713e8657cca8fc791bcd581a47a7be6ebce.tar.bz2
FindJNI: search for ppc64 on ppc64le as well
IcedTea 2.5 have changed libarch for ppc64le to ppc64. Adjust FindJNI to look for both for backward compatibility. Signed-off-by: Dinar Valeev <dvaleev@suse.com>
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 6a496af..3dcb0d0 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -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)")