Hi Torben,

Can anyone give me a hint how to modify the CmakeLists.txt that OSG finds my 
3rdParty libraries?

Well the 3rdparty support is made to have only one include directory for all libs, so if you modify your directory structure to match that and then set ACTUAL_3RDPARTY_DIR to point to the root of your 3rdparty directory it should work...

Detecting individual 3rd party libs is up to CMake's Find* module, and I guess that it expects to find for each one parallel include, lib and bin directories. So your structure won't work. You could probably do

3rdparty
  <libname>
    include
    bin
    lib
  <libname2>
    include
    bin
    lib
  <...>

but you'd still have to tell each lib where its own root is (i.e. 3rdparty/<libname> ) so I wouldn't bother - just put all includes under include, all libs under lib, all binaries under bin.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to