mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marian Cichy <m.cichy@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Marian Cichy <m.cichy@pengutronix.de>
Subject: [ptxdist] [PATCH v3 8/8] OpenCV: make build generate pkg-config file
Date: Mon, 27 Jan 2020 10:34:38 +0100	[thread overview]
Message-ID: <20200127093438.3101-8-m.cichy@pengutronix.de> (raw)
In-Reply-To: <20200127093438.3101-1-m.cichy@pengutronix.de>

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

      parent reply	other threads:[~2020-01-27  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-27  9:34 [ptxdist] [PATCH v3 1/8] OpenCV: Update to Version 4.1.2 Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 2/8] OpenCV: Added flag to build and integrate Examples Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 3/8] OpenCV: Clean up configure_helper output Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 4/8] OpenCV: Changed QT-Support from 4 to 5 Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 5/8] OpenCV: added switch to turn on/off DNN support Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 6/8] OpenCV: changed ptx/ifdef usage to ptx/onoff Marian Cichy
2020-01-27  9:34 ` [ptxdist] [PATCH v3 7/8] OpenCV: Update to version 4.2.0 Marian Cichy
2020-01-27  9:34 ` Marian Cichy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200127093438.3101-8-m.cichy@pengutronix.de \
    --to=m.cichy@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox