summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/openimageio/openimageio-2.2.14.0.ebuild')
-rw-r--r--media-libs/openimageio/openimageio-2.2.14.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-libs/openimageio/openimageio-2.2.14.0.ebuild b/media-libs/openimageio/openimageio-2.2.14.0.ebuild
index a5b480aec5c5..36c2ee69a52d 100644
--- a/media-libs/openimageio/openimageio-2.2.14.0.ebuild
+++ b/media-libs/openimageio/openimageio-2.2.14.0.ebuild
@@ -136,6 +136,9 @@ src_configure() {
-DUSE_FREETYPE=$(usex truetype)
-DUSE_SIMD=$(local IFS=','; echo "${mysimd[*]}")
)
+ if use python; then
+ mycmakeargs+=( -DPYTHON_SITE_DIR=$(python_get_sitedir) )
+ fi
cmake_src_configure
}