mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 22:59:16 +08:00
7 lines
328 B
CMake
7 lines
328 B
CMake
# if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER_EQUAL 21) <-- would be nicer but requires CMake 3.7 or later
|
|
if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER 20)
|
|
set(HAVE_ANDROID_MEDIANDK TRUE)
|
|
set(libs "-landroid -llog -lmediandk")
|
|
ocv_add_external_target(android_mediandk "" "${libs}" "HAVE_ANDROID_MEDIANDK")
|
|
endif()
|