I stumbled over a little problem with $ROOTSYS/etc/cmake/FindRoot.cmake when running cmake version 2.8.8:
I get the error message:
CMakeMacroParseArguments
not found.
The reason is, that starting with 2.8.3 this is obsolate. I added the following fix which seems to work:
if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.8.2)
include(CMakeParseArguments)
else(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.8.2)
include(CMakeMacroParseArguments)
endif(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.8.2)
Could you please verfiy and change this?!