OpenCV usually depends on CMake when some application wants to find its
libraries. However, PTXDist usually relies on pkg-config when building
custom software.
NOTE: This is a workaround since OpenCV marks the usage of pkg-config as
deprecated.
---
rules/opencv.make | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/opencv.make b/rules/opencv.make
index 9d8120040..943b5831b 100644
--- a/rules/opencv.make
+++ b/rules/opencv.make
@@ -182,6 +182,7 @@ OPENCV_CONF_OPT := \
-DWITH_WEBP:BOOL=OFF \
-DWITH_XIMEA:BOOL=OFF \
-DWITH_XINE:BOOL=OFF \
+ -DOPENCV_GENERATE_PKGCONFIG=ON \
$(STATEDIR)/opencv.install:
--
2.20.1
_______________________________________________
ptxdist mailing list
[email protected]