Your right, the framework can be installed in different locations.  Here's a
one-line patch that uses the CG_ROOT cmake option of environment variable as
paths to search for the framework.

On Mon, Jun 7, 2010 at 10:42 AM, Carsten Neumann <[email protected]>wrote:

>        Hello David,
>
> David Kabala wrote:
> > There is a problem when trying to find the Cg Toolkit on OS X for the
> > ContribCgFx library for OpenSG 2.0.  The Cg Toolkit is installed as a
> > Framework on OS X, but the FindCg.cmake module does not account for
> > this.  I've attached a patch that uses the cmake framework locating
> > mechanism to find the Cg Toolkit framework on OS X.
>
> thanks for the patch! applied as r2436.
> I have one question: are frameworks always installed in a known, fixed
> location?
> If not, it would be nice if the variable CG_ROOT that is used in the
> non-apple case could be used to direct the initial FIND_LIBRARY call to
> the right place.
>
>        Cheers,
>                 Carsten
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>

Attachment: 0001-Added-option-to-set-the-location-for-cmake-to-find-t.patch
Description: Binary data

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to