mirror of
https://github.com/opencv/opencv.git
synced 2025-01-13 00:01:27 +08:00
fix path to CUDA libraries (use targets/armv7-linux-androideabi/lib)(cherry picked from commit a098fb1803
)
This commit is contained in:
parent
1ab02631b0
commit
daa7b9ce5f
@ -157,7 +157,7 @@ LOCAL_LDLIBS += $(foreach lib,$(OPENCV_EXTRA_COMPONENTS), -l$(lib))
|
|||||||
|
|
||||||
ifeq ($(OPENCV_USE_GPU_MODULE),on)
|
ifeq ($(OPENCV_USE_GPU_MODULE),on)
|
||||||
LOCAL_STATIC_LIBRARIES+=libopencv_gpu
|
LOCAL_STATIC_LIBRARIES+=libopencv_gpu
|
||||||
LOCAL_LDLIBS += -L$(CUDA_TOOLKIT_DIR)/lib $(foreach lib, $(CUDA_RUNTIME_LIBS), -l$(lib))
|
LOCAL_LDLIBS += -L$(CUDA_TOOLKIT_DIR)/targets/armv7-linux-androideabi/lib $(foreach lib, $(CUDA_RUNTIME_LIBS), -l$(lib))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#restore the LOCAL_PATH
|
#restore the LOCAL_PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user