mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
571 B
13 lines
571 B
# Android API level from which OpenCV has been compiled is remembered |
|
set(OpenCV_ANDROID_NATIVE_API_LEVEL "@OpenCV_ANDROID_NATIVE_API_LEVEL_CONFIGCMAKE@") |
|
|
|
# ============================================================== |
|
# Check OpenCV availability |
|
# ============================================================== |
|
if(OpenCV_ANDROID_NATIVE_API_LEVEL GREATER ANDROID_NATIVE_API_LEVEL) |
|
if(NOT OpenCV_FIND_QUIETLY) |
|
message(WARNING "Minimum required by OpenCV API level is android-${OpenCV_ANDROID_NATIVE_API_LEVEL}") |
|
endif() |
|
set(OpenCV_FOUND 0) |
|
return() |
|
endif()
|
|
|