1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Added generation of OpenCV.mk file for Android development with ndk-build tool

This commit is contained in:
Andrey Kamaev
2011-06-20 15:35:05 +00:00
parent ee2aefc270
commit 9c71134caf
5 changed files with 102 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ else()
#libraries order is very important because linker from Android NDK is one-pass linker
set(OPENCV_LIB_COMPONENTS opencv_contrib opencv_calib3d opencv_objdetect opencv_features2d opencv_imgproc opencv_video opencv_highgui opencv_ml opencv_legacy opencv_flann opencv_core )
IF (NOT @BUILD_SHARED_LIBS@)
set(OPENCV_LIB_COMPONENTS opencv_androidcamera ${OPENCV_LIB_COMPONENTS})
set(OPENCV_LIB_COMPONENTS ${OPENCV_LIB_COMPONENTS} opencv_androidcamera)
ENDIF()
endif()