Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
Max Kostin edited this page Jun 6, 2015 · 1 revision

ARM detection

First time detection

  1. if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)")

if((CMAKE_GENERATOR MATCHES "ARM") OR ("${arch_hint}" STREQUAL "ARM") OR (CMAKE_VS_EFFECTIVE_PLATFORMS MATCHES "ARM|arm"))
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)")

Usage in module configurations

if(ARM)
if(OpenCV_ARCH STREQUAL "ARM")