From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Marian Cichy Date: Mon, 27 Jan 2020 10:34:38 +0100 Message-Id: <20200127093438.3101-8-m.cichy@pengutronix.de> In-Reply-To: <20200127093438.3101-1-m.cichy@pengutronix.de> References: <20200127093438.3101-1-m.cichy@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v3 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 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 ptxdist@pengutronix.de