From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Marian Cichy Date: Tue, 28 Jan 2020 17:36:19 +0100 Message-Id: <20200128163619.8486-8-m.cichy@pengutronix.de> In-Reply-To: <20200128163619.8486-1-m.cichy@pengutronix.de> References: <20200128163619.8486-1-m.cichy@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v4 8/8] OpenCV: make build generate pkg-config file List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Marian Cichy 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 73582af38..ce10e9033 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 ptxdist@pengutronix.de