mirror of
https://github.com/zebrajr/opencv.git
synced 2026-01-15 12:15:17 +00: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:
@@ -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})
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user