Fix for building Blender with OSL, and no OpenEXR headers in standard paths (like...
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 16 Jun 2013 18:59:50 +0000 (18:59 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 16 Jun 2013 18:59:50 +0000 (18:59 +0000)
commit8e5cd99e0b9b1b19f8b24100ca0f5b886069b780
treeb0b79f7c8b81e69b3836d9e0415bb10e27e0a0f7
parent868300614387cffbc8645a225a96b46c2740f000
Fix for building Blender with OSL, and no OpenEXR headers in standard paths (like /usr/include/OpenEXR).

As OSL headers mix #include <OpenEXR/foo.h> and #include <foo.h>, we need both /path/to/openexr/include and /path/to/openexr/include/OpenEXR include paths... :/

Issue investigated by doug65536 on IRC, thanks.
build_files/cmake/Modules/FindOpenEXR.cmake