mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #594 from asmorkalov:android_all_build_fix
This commit is contained in:
commit
85c7a36f93
@ -92,7 +92,7 @@ define add_opencv_camera_module
|
|||||||
include $(PREBUILT_SHARED_LIBRARY)
|
include $(PREBUILT_SHARED_LIBRARY)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(OPENCV_MK_ALREADY_INCLUDED),)
|
ifeq ($(OPENCV_MK_$(OPENCV_TARGET_ARCH_ABI)_ALREADY_INCLUDED),)
|
||||||
ifeq ($(OPENCV_INSTALL_MODULES),on)
|
ifeq ($(OPENCV_INSTALL_MODULES),on)
|
||||||
$(foreach module,$(OPENCV_LIBS),$(eval $(call add_opencv_module,$(module))))
|
$(foreach module,$(OPENCV_LIBS),$(eval $(call add_opencv_module,$(module))))
|
||||||
endif
|
endif
|
||||||
@ -105,7 +105,7 @@ ifeq ($(OPENCV_MK_ALREADY_INCLUDED),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
#turn off module installation to prevent their redefinition
|
#turn off module installation to prevent their redefinition
|
||||||
OPENCV_MK_ALREADY_INCLUDED:=on
|
OPENCV_MK_$(OPENCV_TARGET_ARCH_ABI)_ALREADY_INCLUDED:=on
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OPENCV_LOCAL_CFLAGS),)
|
ifeq ($(OPENCV_LOCAL_CFLAGS),)
|
||||||
|
Loading…
Reference in New Issue
Block a user