This works for me as well. Thanks! I wasn't getting Openthreads compiled as a framework and noticed the:

INCLUDE(ModuleInstall OPTIONAL)

line commented out in its CMakeLists.txt.

Adding it back in and now everything seems to be ok. Not sure why that was. Will do some tests on compiling our projects against this now.

Martins

On 3/25/10 1:48 PM, Jordi Torres wrote:
Hi Matheiu,

Your changes are working for me and now I am able to compile OSG frameworks installing the headers in the right place. Good job!

Cheers.

2010/3/25 Mathieu Marache <[email protected] <mailto:[email protected]>>

    Hi Martin, Stephan,

    I've had a chance to finally look at your contribution and looking
    at CMake's internals I found out that if one want's a file to be
    placed into the MACOSX_FRAMEWORK_LOCATION it must neither be a
    PUBLIC_HEADER, PRIVATE_HEADER nor a RESOURCE.

    I modified osgViewer's CMakeLists.txt accordingly and it works for
    me (I have CMake 2.8 btw).

    See the changeset on my git clone :
    
http://github.com/mathieu/osg/commit/ed5aefc9ec062df70957c72e655cb1388b4a1557

    And the attached file.

    If you could test it on your side ?

    Le 24 mars 10 à 18:01, Stephan Maximilian Huber a écrit :


        Hi Martins,
        Am 24.03.10 16:03, schrieb Martins Innus:

             Have you made any progress on this?  I tried your files
            and got
            similar behavior with respect to the osgViewer headers in the
            framework.  Although I don't even get an api directory in

            osgViewer.framework/headers/

            Let me know if you have any news files to test.  I'll
            continue to dig on
            this end.


        Unfortunately no progress made on my end. If I have some
        spare-time this
        or next week I'll subscribe to the cmake-mailing list and ask
        for help.

        cheers,
        Stephan


    HTH
    Mathieu

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




--
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es


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

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

Reply via email to