Hi!

On 2022-01-01 at 18:23 (-08), Larry Gritz wrote:

[...]

> It feels like if Debian is generally changing the standard for which
> paths things are installed into, then the best solution is actually a
> fix to cmake itself, to detect if it's on one of these debian systems
> and add the right paths to its standard lists of directories to search
> for things. No?

Yes. Fixed as follows:

diff --git a/debian/rules b/debian/rules
index 8cad207..97dd831 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ override_dh_auto_configure:
                -DROBINMAP_INCLUDE_DIR="/usr/include/" \
                -DCMAKE_SKIP_RPATH=ON \
                -DINSTALL_FONTS=OFF \
+               -DJPEG_INCLUDE_DIR="/usr/include/$(DEB_HOST_MULTIARCH)" \
                -DOIIO_DOWNLOAD_MISSING_TESTDATA=OFF \
                -DPYTHON_VERSION=$(PY3VERS) \
                -DSTOP_ON_WARNING=OFF \

Cheers.


-- 
Matteo F. Vescovi

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to