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 8886715 commit 8cc8c2fCopy full SHA for 8cc8c2f
modules/Makefile
@@ -3,7 +3,7 @@ TARGET?=test
3
4
# Compiler
5
CC=g++
6
-CFLAGS=-Wall -I. -O3 -g -std=c++17 -Wextra -Wunused-function
+CFLAGS=-Wall -I. -O3 -g -Wextra -Wunused-function
7
8
# Target
9
LD=g++
modules/rgb2gray/Makefile
@@ -1,6 +1,8 @@
1
# Include common Makefile
2
include ../Makefile
+CFLAGS+=-std=c++17
+
ifdef INCLUDE_OPENCV
LIBS+=-lopencv_imgcodecs -lopencv_core -lopencv_highgui -lopencv_imgproc
0 commit comments