Skip to content

Commit

Permalink
fix Makefile (apache#14424)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkcn authored and vdantu committed Mar 31, 2019
1 parent b5c663e commit 3c8caf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ endif
# setup opencv
ifeq ($(USE_OPENCV), 1)
CFLAGS += -DMXNET_USE_OPENCV=1
ifneq ($(USE_OPENCV_INC_PATH), NONE)
ifneq ($(filter-out NONE, $(USE_OPENCV_INC_PATH)),)
CFLAGS += -I$(USE_OPENCV_INC_PATH)/include
ifeq ($(USE_OPENCV_LIB_PATH), NONE)
ifeq ($(filter-out NONE, $(USE_OPENCV_LIB_PATH)),)
$(error Please add the path of OpenCV shared library path into `USE_OPENCV_LIB_PATH`, when `USE_OPENCV_INC_PATH` is not NONE)
endif
LDFLAGS += -L$(USE_OPENCV_LIB_PATH)
Expand Down

0 comments on commit 3c8caf2

Please sign in to comment.