On 5/07/14 8:35 AM, haggi krey wrote:
Hi,

I'm quite sure this is easy to solve. I have no too much experience with cmake. And I'm working on windows.

In the FindIlmBase.cmake file I can read:

# This module will first look into the directories defined by the variables:
#   - ILMBASE_HOME, ILMBASE_VERSION, ILMBASE_LIB_AREA

So I define an environment variables called ILMBASE_HOME and point it to my ilmbase directory where the include and lib directories are located.
I created a simple batch file where i define

set ILMBASE_HOME=H:\UserDatenHaggi\Documents\coding\openExr\depoly2.10\ilmbase

Then I call cmake or cmake-gui but both complain about a not found ilmbase installation. I tried to print a message from the find module like this:

message ("ilmbase home: ${ILMBASE_HOME}")
Hi Haggi,

try this :

    message ("ilmbase home: $ENV{ILMBASE_HOME}")

Cheers

--
Nicholas Yue
Graphics - RenderMan, Visualization, 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