Advertisement
Guest User

Untitled

a guest
Oct 12th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.27 KB | None | 0 0
  1. set(sample example-tutorial-1-camerapreview)
  2.  
  3. add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS "${OPENCV_ANDROID_LIB_DIR}" SDK_TARGET 11 "${ANDROID_SDK_TARGET}")
  4. if(TARGET ${sample})
  5.   add_dependencies(opencv_android_examples ${sample})
  6. endif()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement