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.
8 lines
421 B
8 lines
421 B
# if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER_EQUAL 24) <-- would be nicer but requires CMake 3.7 or later |
|
if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER 23) |
|
set(HAVE_ANDROID_NATIVE_CAMERA TRUE) |
|
set(libs "-landroid -llog -lcamera2ndk") |
|
ocv_add_external_target(android_native_camera "" "${libs}" "HAVE_ANDROID_NATIVE_CAMERA") |
|
endif() |
|
|
|
set(HAVE_ANDROID_NATIVE_CAMERA ${HAVE_ANDROID_NATIVE_CAMERA} PARENT_SCOPE)
|
|
|