That's something I recently added, and apparently it's a mistake. I'll just remove those 'if' statements.
> On Jan 22, 2016, at 8:57 PM, Troy Sobotka <[email protected]> wrote: > > Solved. > > It appears that you have wrapped the two find_packages in > externalpackages.cmake that properly discover the custom overrides with if > (NOT OPENEXR_INCLUDE_DIR) find_package (OpenEXR REQUIRED) endif (). > > If you look at the Find* files for ILM and EXR, you can see that the custom > overrides are carefully handled at the top of the file. Your if (NOT...) is > preventing them from working unless it manages to get inside of the stanza by > having a custom include directory defined. > > I removed the IFs here and it works flawlessly. Not sure how that would > impact any other builders however. > > 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
