Yes, you need a cmake file. A quick Google on "FindOsgEarth.cmake" turns up some potential candidates.
Glenn Waldron / @glennwaldron On Fri, Sep 14, 2012 at 1:49 PM, Michael W. Hall <[email protected]> wrote: > I have been trying to modify my CMakeList.txt file to find the osgEarth > package. I added the line: > > FIND_PACKAGE(osgEarth) > > It tells me the following: > > CMake Warning at CMakeLists.txt:128 (FIND_PACKAGE): > Could not find module FindOsgEarth.cmake or a configuration file for > package OsgEarth. > > Adjust CMAKE_MODULE_PATH to find FindOsgEarth.cmake or set > OsgEarth_DIR to > the directory containing a CMake configuration file for OsgEarth. > The file > will have one of the following names: > > OsgEarthConfig.cmake > osgearth-config.cmake > > What am I missing? Do I need to make a .cmake file? > > Thanks, > Michael > > > _______________________________________________ > 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

