[Insight-developers] CMake CMAKE_ROOT

Luis Ibanez ibanez@cs.unc.edu
Tue, 19 Jun 2001 11:57:23 -0400


Hi,

I just updated CMake from the separate
repository, and when running CMakeSetup
I got the following message:

"CMake Error: Could not find CMAKE_ROOT !!!
 Modules directory in directory:
 /share/CMake/Modules"

this is followed by several error messages
(in other message boxes) concerning files 
that CMakeSetup cannot find as a consequence
of the CMAKE_ROOT missing, and at the end
it crash.

I end up setting CMAKE_ROOT as an environment 
variable in a cygwin shell and invoking 
CMakeSetup in this same shell.

Wouldn't it be reasonable to give the user 
the chance to Browse the filesystem for the
place where CMake is installed, so the CMAKE_ROOT
variable can be set from the GUI ?


Luis