Just for the completeness of informing anybody who in the future looks at the email archives, I wanted this thread to reference https://github.com/OpenImageIO/oiio/pull/1346, which totally overhauled these modules to address these issues.
I'll be sure to have it integrated into RB-1.6 by the time we do the next tagged release there. > On Jan 22, 2016, at 11:00 PM, Larry Gritz <[email protected]> wrote: > > Looking through the source logs (and my email records), it looks like there > is no upstream version, this grew by accretion in situ for some time, > modified by many people. It may have once been copied from elsewhere, but it > was so long ago that I'm sure it bears little resemblance to its original. > > I am very happy to replace this mess with a modern FindIlmBase.cmake and > FindOpenEXR.cmake -- and merely searching for these terms in Google turns up > a plethora of examples. > > I would be very keen to hear from people who have favorites, or can vouch for > those used in other projects, so we can pick a candidate to use as a > replacement. > > >> On Jan 22, 2016, at 10:22 PM, Troy Sobotka <[email protected]> wrote: >> >> I spoke too soon, but I'm making good progress. >> >> From what I can see your earlier defines such as OpenEXR version appear to >> interfere with some of the CMake module's attempts to discover things. >> >> For example, if you leave the OPENEXR_VERSION set and try to use a custom >> setup, the OPENEXR_VERSION will prevent the FindOpenEXR module from properly >> detecting the correct version of the library. I think the >> OPENEXR_INCLUDE_DIR is also interfering. >> >> There's also a strange looking bug (?) in the FindOpenEXR cmake module right >> near the end where it completely destroys what it has already found for >> libraries, which seems odd but perhaps there is a good reason for it? I've >> been using messages to dump the various variables as it moves down the list >> and everything looks great with my /usr/local setup until that cluster for >> example, where it removes the blasted configuration detected. >> >> Is there an upstream for the FindOpenEXR or FindIlmBase cmake directives? >> >> With respect, >> TJS >> _______________________________________________ >> 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 -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
