Automatically set the correct OpenCV version in build.gradle

Automatically sets the correct OpenCV version in the CMAKE example contained in the build.gradle
file of the Android SDK.
pull/20795/head
Jannik Bamberger 4 years ago
parent 327b98eb13
commit ef53a9229f
  1. 2
      modules/java/android_sdk/build.gradle.in

@ -58,7 +58,7 @@
//
// - Use find_package() in app/CMakeLists.txt:
//
// find_package(OpenCV 3.4 REQUIRED java)
// find_package(OpenCV @OPENCV_VERSION_MAJOR@.@OPENCV_VERSION_MINOR@ REQUIRED java)
// ...
// target_link_libraries(native-lib ${OpenCV_LIBRARIES})
//

Loading…
Cancel
Save