"Robert Osfield" wrote: > The paths that FindOpenThreads.cmake currently searches is: > > FIND_PATH(OPENTHREADS_INCLUDE_DIR OpenThreads/Thread > ${CMAKE_INSTALL_PREFIX}/include > $ENV{OPENTHREADS_DIR}/include > $ENV{OSG_DIR}/include > ~/Library/Frameworks > /Library/Frameworks > /usr/local/include > /usr/include > /sw/include # Fink > /opt/local/include # DarwinPorts > /opt/csw/include # Blastwave > /opt/include > [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ > Manager\\Environment;OSG_ROOT]/include > )
What are you going to do if someone has OSG with his operating system distribution, let's think of FreeBSD, in /usr/local/ because some package dependency requires this and wants to build OSG SVN for testing purpose, maybe FlightGear ? He'll always pick the wrong headers and the wrong libraries at build time .... Expecting users to only install in 'official' locations is a bit short- sighted, isn't it ? Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/