OpenCV_4.2.0/opencv-4.2.0/samples/android/image-manipulations/CMakeLists.txt

7 lines
264 B
CMake
Raw Normal View History

2024-07-25 16:47:56 +08:00
set(sample example-image-manipulations)
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS "${OPENCV_ANDROID_LIB_DIR}" SDK_TARGET 11 "${ANDROID_SDK_TARGET}")
if(TARGET ${sample})
add_dependencies(opencv_android_examples ${sample})
endif()