I'm not sure that the cmake scripts will automatically pick up environment 
variables (regular 'make' does).

But you can definitely set them on the command line:

cmake -DILMBASE_HOME=/my/path/to/ilmbase ...



On Jul 5, 2014, at 8:35 AM, haggi krey <[email protected]> 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}")
> 
> which should print the path above if I understand it correctly, but the 
> ILMBASE_HOME seems to be empty.
> Any ideas?
> 
> 
> haggi
> 

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to