Hi Philip,
This hack should probably be removed from the OSG's build system in
favor of having people use Mike's 3rd party dependencies repository
directly (which I thought most people already do anyways?)
FWIW:
Not having looked at the actual CMake code for a while, I believe the
first place that is checked is a directory called "3rdParty" parallel to
the OSG source directory. So if you have:
.../somepath/3rdParty
.../somepath/OpenSceneGraph
.../somepath/OpenSceneGraph/src
the dependencies will be taken from that 3rdParty dir first. If not,
then there are a few fallbacks. Those cases (OSG_LIB_PATH and C:\Program
Files\OpenSceneGraph) are fallbacks. Perhaps these fallbacks can find
the wrong versions of libraries, but so can the first check above. I
think that as developers, we can be expected to check what the software
we compile links to and make sure it links to the right things.
The only way to make sure CMake only gets the right libs is to specify
them all manually. I don't think that's a good solution, so we're left
with solutions that could potentially pick up the wrong versions, but if
you've set things up correctly, will pick them all up automatically.
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org