On Tue, Nov 13, 2012 at 11:17 AM, Bill Lorensen <[email protected]> wrote: > Matt, > > I cloned the git repo as suggested here: > http://itk.org/ITKExamples/Download/index.html > > But when I run cmake I get this error: > > CMake Error at CMakeLists.txt:24 (message): > The git submodules are not available. Please run > > git submodule update --init --recursive > > > CMake Error at CMakeLists.txt:30 (message): > The git submodules are not available. Please run > > git submodule update --init --recursive > > > CMake Error at CMakeLists.txt:36 (message): > The git submodules are not available. Please run > > git submodule update --init --recursive
I agree that this step should not be required to do manually (though it seems to be common (e.g. Paraview requires it: http://www.paraview.org/Wiki/ParaView/Git/Download in the form of clone --recursive). Matt, is there a way to have CMake check for the existence of the submodules and run the submodule command automatically? Or perhaps CMake could just always run that command automatically, as I believe git basically does nothing if it is already in a good state? David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
