Hi Fred, Ignore my fix it was the same as yours. The problem perplexes me a bit. I'll have to find a cmake-2.4.5 and test this myself. I see that you found the way around.
cheers Mattias On Sat, Dec 20, 2008 at 4:40 PM, Frederic Bouvier <fredlis...@free.fr> wrote: > Robert Osfield a écrit : >> Hi Fred, >> >> On Sat, Dec 20, 2008 at 1:57 PM, Frederic Bouvier <fredlis...@free.fr> wrote: >> >>> Thank you. Here is another one, in main CMakeLists.txt:25 >>> IF had incorrect arguments : POLICY CMP0008 ( Unknown arguments specified ) >>> >>> I checked if there is a newer than 2.4.5 version of CMake under Etch but >>> it seems there isn't. >>> >> >> Could you try putting a if cmake version check around the offending >> lines? There are other such checks in the main CMakeLists.txt so you >> should be able to copy these. >> > > I enclosed the line and the other two below in a > IF(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION GREATER 4) > ENDIF(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION GREATER 4) > > or > > IF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) > ENDIF(${CMAKE_MAJOR_VERSION EQUAL} 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) > > bloc, but the error is still there. I removed the 3 lines for the moment > > -Fred > > -- > Frédéric Bouvier > http://my.fotolia.com/frfoto/ Photo gallery > http://fgsd.sourceforge.net/ FlightGear Scenery Designer > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org