diff options
author | YunQiang Su <wzssyqa@gmail.com> | 2018-03-14 14:19:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-14 15:17:19 (GMT) |
commit | 8c92596e9621e687b333f3dcdac5c2bb6d5ca1b1 (patch) | |
tree | c89a7e1c28a253ef5ea79d6f2d41e01cd33dd4d4 | |
parent | c5541cf0da1093635fea7da5a40e64e481b5477e (diff) | |
download | CMake-8c92596e9621e687b333f3dcdac5c2bb6d5ca1b1.zip CMake-8c92596e9621e687b333f3dcdac5c2bb6d5ca1b1.tar.gz CMake-8c92596e9621e687b333f3dcdac5c2bb6d5ca1b1.tar.bz2 |
FindJNI: add some new architecture names for mips release 6
-rw-r--r-- | Modules/FindJNI.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index c4601a1..e31c19e 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -47,7 +47,10 @@ macro(java_append_library_directories _var) elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^mips") # mips* machines are bi-endian mostly so processor does not tell # endianness of the underlying system. - set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb" "mips64" "mips64el" "mipsn32" "mipsn32el") + set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" + "mips" "mipsel" "mipseb" "mipsr6" "mipsr6el" + "mips64" "mips64el" "mips64r6" "mips64r6el" + "mipsn32" "mipsn32el" "mipsn32r6" "mipsn32r6el") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64le") set(_java_libarch "ppc64" "ppc64le") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64") |