mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Improve handling of native_app_glue dependency in Android samples
This commit is contained in:
committed by
Andrey Pavlenko
parent
9cce8ca4b6
commit
60059a7aa0
@@ -10,16 +10,13 @@ add_subdirectory(15-puzzle)
|
||||
add_subdirectory(face-detection)
|
||||
add_subdirectory(image-manipulations)
|
||||
add_subdirectory(color-blob-detection)
|
||||
|
||||
if (ANDROID_NATIVE_API_LEVEL GREATER 8)
|
||||
add_subdirectory(native-activity)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tutorial-1-camerapreview)
|
||||
add_subdirectory(tutorial-2-mixedprocessing)
|
||||
add_subdirectory(tutorial-3-cameracontrol)
|
||||
|
||||
#hello-android sample
|
||||
add_subdirectory(native-activity)
|
||||
|
||||
# hello-android sample
|
||||
if(HAVE_opencv_highgui)
|
||||
ocv_include_modules_recurse(opencv_highgui opencv_core)
|
||||
add_executable(hello-android hello-android/main.cpp)
|
||||
|
||||
Reference in New Issue
Block a user