mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
diff --git a/src/modules/opencv/configure b/src/modules/opencv/configure
|
|
index 36851f67..f8084301 100755
|
|
--- a/src/modules/opencv/configure
|
|
+++ b/src/modules/opencv/configure
|
|
@@ -26,18 +26,18 @@ else
|
|
exit 0
|
|
fi
|
|
|
|
- pkg-config --atleast-version=3.1.0 'opencv'
|
|
+ pkg-config --atleast-version=3.1.0 'opencv4'
|
|
if [ $? -eq 0 ]
|
|
then
|
|
- result=`pkg-config --libs opencv | grep "opencv_tracking"`
|
|
+ result=`pkg-config --libs opencv4 | grep "opencv_tracking"`
|
|
if [ -z "$result" ]
|
|
then
|
|
echo "- OpenCV tracking contrib module NOT found, disabling OpenCV modules"
|
|
touch ../disable-opencv
|
|
exit 0
|
|
else
|
|
- echo "CFLAGS += $(pkg-config --cflags opencv)" >> config.mak
|
|
- echo "LDFLAGS += $(pkg-config --libs opencv)" >> config.mak
|
|
+ echo "CFLAGS += $(pkg-config --cflags opencv4)" >> config.mak
|
|
+ echo "LDFLAGS += $(pkg-config --libs opencv4)" >> config.mak
|
|
fi
|
|
else
|
|
echo "- OpenCV >= 3.1.0 NOT found: disabling"
|