Skip to content

Commit

Permalink
media-libs/opencv-4.4.0: Fix build with dev-cpp/eigen-3.3.7-r1
Browse files Browse the repository at this point in the history
This re-applies 9cab619 after version bump.

References: opencv/opencv#14868 (comment)
References: 9cab619
Closes: https://bugs.gentoo.org/733796
  • Loading branch information
devurandom committed Oct 8, 2020
1 parent 9c7a5b7 commit 196633d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions media-libs/opencv/opencv-4.4.0.ebuild
Expand Up @@ -459,6 +459,10 @@ multilib_src_configure() {
-DCPU_DISPATCH=
)

if use eigen ; then
GLOBALCMAKEARGS+=("-DEIGEN_INCLUDE_PATH=$(pkg-config --cflags-only-I eigen3 | sed 's/^-I//')")
fi

# ===================================================
# OpenCV Contrib Modules
# ===================================================
Expand Down

0 comments on commit 196633d

Please sign in to comment.