A small update, when I add the required

  INCLUDE (CheckPrototypeExists)

To allow the use of CHECK_PROTOTYPE_EXISTS I get the CMake error:


CMake Error at src/OpenThreads/pthreads/CMakeLists.txt:3 (INCLUDE):
  include could not find load file:

    CheckPrototypeExists


CMake Error at src/OpenThreads/pthreads/CMakeLists.txt:68
(CHECK_PROTOTYPE_EXISTS):
  Unknown CMake command "CHECK_PROTOTYPE_EXISTS".


So clearly this isn't available in CMake 2.6.2 so if we did use it
we'd need to track down which version has it and then have optional
paths in the CMakeLists.txt - something we really don't want to do as
it's already complicated enough and we really want a portable and
straight forward solution.

The other possible solution might be to use the compilation of local
source to see if the method is there.  I will now look into this...

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to