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

Reply via email to