Add ARM64 packaging support

pull/4104/head
Roman Donchenko 10 years ago
parent 1fbdca0c9b
commit 02f8b85dd9
  1. 3
      cmake/OpenCVPackaging.cmake

@ -33,6 +33,9 @@ elseif(X86_64)
elseif(ARM) elseif(ARM)
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf") set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf")
set(CPACK_RPM_PACKAGE_ARCHITECTURE "armhf") set(CPACK_RPM_PACKAGE_ARCHITECTURE "armhf")
elseif(AARCH64)
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "arm64")
set(CPACK_RPM_PACKAGE_ARCHITECTURE "aarch64")
else() else()
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR}) set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
set(CPACK_RPM_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR}) set(CPACK_RPM_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

Loading…
Cancel
Save