Hi Troy,

  The following command line options can override the actual CMake
variables that are use in the build process itself.

  My system has both systems and custom OpenEXR

-D ILMBASE_CUSTOM=ON \
-D ILMBASE_INCLUDE_DIR=$SYSTEMS_ROOT/OpenEXR/v2.2.0/include \
-D ILMBASE_CUSTOM_LIBRARIES="Imath Half IlmThread Iex" \
-D ILMBASE_CUSTOM_LIB_DIR=$SYSTEMS_ROOT/OpenEXR/v2.2.0/lib \
-D OPENEXR_CUSTOM=ON \
-D OPENEXR_INCLUDE_DIR=$SYSTEMS_ROOT/OpenEXR/v2.2.0/include \
-D OPENEXR_CUSTOM_LIBRARY="IlmImf" \
-D OPENEXR_CUSTOM_LIB_DIR=$SYSTEMS_ROOT/OpenEXR/v2.2.0/lib \


Cheers

On 22 January 2016 at 16:19, Troy Sobotka <[email protected]> wrote:

>
>
> On Fri, Jan 22, 2016 at 3:45 PM Larry Gritz <[email protected]> wrote:
>
>> You should just be able to
>>
>>         make nuke
>>         make ILMBASE_HOME=/path/to/exr OPENEXR_HOME=/path/to/exr
>>
>
> I've tried setting these variables via CMake, but they don't take.
>
> Any tips on what might be going on wrong?
>
> I have two versions of the ILM and EXR libraries, one in system path and
> one in local. I'd love to be able to specify the local library to link
> against.
>
> With respect,
> TJS
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
>


-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to