mirror of
https://github.com/opencv/opencv.git
synced 2024-12-21 05:28:01 +08:00
133b91a026
- eliminate CMake 3.5+ warnings - removed usage of dropped "OPENCV_CAMERA_MODULES" variable - partial support for Android NDK 11+
24 lines
555 B
Makefile
24 lines
555 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
#OPENCV_INSTALL_MODULES:=off
|
|
#OPENCV_LIB_TYPE:=SHARED
|
|
ifdef OPENCV_ANDROID_SDK
|
|
ifneq ("","$(wildcard $(OPENCV_ANDROID_SDK)/OpenCV.mk)")
|
|
include ${OPENCV_ANDROID_SDK}/OpenCV.mk
|
|
else
|
|
include ${OPENCV_ANDROID_SDK}/sdk/native/jni/OpenCV.mk
|
|
endif
|
|
else
|
|
include ../../sdk/native/jni/OpenCV.mk
|
|
endif
|
|
|
|
LOCAL_SRC_FILES := DetectionBasedTracker_jni.cpp
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)
|
|
LOCAL_LDLIBS += -llog -ldl
|
|
|
|
LOCAL_MODULE := detection_based_tracker
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|