On Fri, 2007-12-21 at 12:53 +0000, Robert Osfield wrote: > Thanks Jeremy, changes now merged and submitted to SVN. > > Are the Cmake checks for Xrandr support good enough to automatically > detect when Xrandr support isn't available? If so then I'd be > inclined to set the option on by default.
Well, I'm no CMake guru, but I'm fairly sure they are--if the user has a proper version of CMake. The one thing I noticed is that $XRANDR_INCLUDE_DIRS is used before PKG_CHECK_MODULES, which may not work since it hasn't had a chance to be defined yet. I'll check a bit more and respond again... > On Dec 19, 2007 2:45 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > > Here is a potential implementation of setScreeResolution and > > setScreenRefreshRate for systems support Xrandr. The include CMakeFile > > makes this optional, and turns it OFF by default, in which case any > > person trying to use these functions under Linux will be instructed to > > build osgViewer w/ Xrandr support. > > > > Included are the two files and a diff for quick perusal... > > > > _______________________________________________ > > osg-submissions mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
