Good :) Using pkgconfig should only be done if it's found, yes. If I give this a go I'll try to implement something like what's been done in the FindFFmpeg.cmake file.
Thanks! On Thu, Sep 13, 2018 at 8:03 PM, Larry Gritz <[email protected]> wrote: > No, not demanding at all! It's a reasonable request, I just don't know > enough about pckconfig to implement it myself (without sinking a whole > bunch of time into learning it). > > I assume things wouldn't break anything for people/systems who don't have > the pkgconfig stuff set up for openexr. > > > On Sep 13, 2018, at 11:00 AM, Daniel Flehner Heen <[email protected]> > wrote: > > Cool! > I'm no ninja in cmake, but might give it a go. > (Apologize if my question came across arrogant or demanding.) > > On Thu, Sep 13, 2018 at 7:42 PM, Larry Gritz <[email protected]> wrote: > >> No reason? >> >> If somebody wants to send a PR that makes this change, it would be >> welcome. >> >> -- lg >> >> >> On Sep 13, 2018, at 4:11 AM, Daniel Flehner Heen <[email protected]> >> wrote: >> >> Hi! >> >> Is there a reason why OIIO doesn't use "pkg_check_modules" and the >> PKG_CONFIG_PATH environment variable to locate OpenEXR, IlmBase, etc. like >> it does with LibRaw and FFmpeg? >> >> I'm writing a build script which aims to be as dynamic as possible and >> want to avoid hard coding paths to dependencies. >> >> Thanks! >> -- >> -Daniel >> >> >> -- >> Larry Gritz >> [email protected] >> >> >> >> >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> >> > > > -- > -Daniel > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > -- > Larry Gritz > [email protected] > > > > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > -- -Daniel
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
