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

tutorial-4-opencl: enable build with OpenCV

This commit is contained in:
Alexander Alekhin
2015-08-12 18:36:09 +03:00
parent e1ad86c1fa
commit 03bab0fc0d
5 changed files with 24 additions and 3 deletions
@@ -13,6 +13,10 @@ else
include ../../sdk/native/jni/OpenCV.mk
endif
ifndef OPENCL_SDK
$(error Specify OPENCL_SDK to Android OpenCL SDK location)
endif
# add OpenCL
LOCAL_C_INCLUDES += $(OPENCL_SDK)/include
LOCAL_LDLIBS += -L$(OPENCL_SDK)/lib/$(TARGET_ARCH_ABI) -lOpenCL