mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
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.
This commit is contained in:
parent
327b98eb13
commit
ef53a9229f
@ -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…
Reference in New Issue
Block a user