Hi Paul,

> If I'm reading my own CMake files correctly, you need to set the following
> environment variables before running CMake:
>   OSG_INC_DIR
>   OSG_LIB_DIR
> Then CMake will be able to find OSG. I'll add a note about this to the
> readme.

Ok, that's fine. I hadn't seen that it checked those env vars, and  
normally in the CMake window (equivalent of ccmake on Windows) you get  
a chance to modify the settings, or add them if they weren't found -  
which I didn't see in the case of your CMake files, so I thought it  
was simply not there.

There should probably be a set of standard env vars for OSG, shouldn't  
there? I've seen lots of variants, and in my case I always set  
OSG_INCLUDE_PATH and OSG_LIB_PATH, so those two you mentioned were not  
set...

> Long-term, the plan is to migrate this NodeKit into core OSG, in which case
> I'll dump the current CMake system and use the OSG-native CMake system, so
> I'm not inclined to spend much time tweaking CMake to fix problems like this
> (problems that have workarounds, ugly as they may be).

Of course, makes perfect sense.

Thanks,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to