We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb568e5 commit 8886715Copy full SHA for 8886715
modules/rgb2gray/Makefile
@@ -1,12 +1,14 @@
1
-# Adding stb lib for image handling
2
-INCDIR_STB=lib/stb
3
-INCLUDES_STB := $(wildcard $(INCDIR_STB)/*.h)
4
-
5
# Include common Makefile
6
include ../Makefile
7
8
-# Include stb lib for compilation
9
-INCLUDES += INCLUDES_STB
+ifdef INCLUDE_OPENCV
+# Target
+LIBS+=-lopencv_imgcodecs -lopencv_core -lopencv_highgui -lopencv_imgproc
+
+# Source directories
+INCDIR+=-I$(OPENCV_H_DIR)
10
+LIBDIR+=-L$(OPENCV_SO_DIR)
11
+endif # INCLUDE_OPENCV
12
13
# Defining preprocessor directive for debug
14
ifdef IPS_DEBUG_EN
0 commit comments