summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-11-04 18:27:41 +0100
committerSam James <sam@gentoo.org>2024-11-05 02:02:34 +0000
commitece155227e62d231904646e58493d80b9acfb1e4 (patch)
tree6c03904b4f0a21a8fda212799b3ce6c8f9d9c6a3 /media-libs/opencv
parentmedia-libs/opencv: cuda device detection (diff)
downloadgentoo-ece155227e62d231904646e58493d80b9acfb1e4.tar.gz
gentoo-ece155227e62d231904646e58493d80b9acfb1e4.tar.bz2
gentoo-ece155227e62d231904646e58493d80b9acfb1e4.zip
media-libs/opencv: allow CUDA_PATH override
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-4.10.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild
index 0f90b6e92d2b..dc2b31fa8321 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -595,7 +595,7 @@ multilib_src_configure() {
# NOTE set this via MYCMAKEARGS if needed
-DWITH_NVCUVID="no" # TODO needs NVIDIA Video Codec SDK
-DWITH_NVCUVENC="no" # TODO needs NVIDIA Video Codec SDK
- -DCUDA_NPP_LIBRARY_ROOT_DIR="$(usex cuda "${EPREFIX}/opt/cuda" "")"
+ -DCUDA_NPP_LIBRARY_ROOT_DIR="$(usex cuda "${CUDA_PATH:=${EPREFIX}/opt/cuda}" "")"
# ===================================================
# OpenCV build components
# ===================================================