summarylogtreecommitdiffstats
path: root/opencv4.patch
blob: 4aa2918cb65a1ae3fc41edd03f539c68d9a1f7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/Makefile b/Makefile
index 0ce8ec3..898d428 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS=`pkg-config --cflags opencv`
-LDFLAGS=`pkg-config --libs-only-L opencv` -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc
+CFLAGS+=`pkg-config --cflags opencv4`
+LDFLAGS+=`pkg-config --libs-only-L opencv4` -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc
 ssimulacra: ssimulacra.cpp
 	g++ -std=c++11 -O2 -fstrict-aliasing -ffast-math $(CFLAGS) ssimulacra.cpp $(LDFLAGS) -o ssimulacra
 clean: