[Insight-users] cmake warning

Robert Tamburo robert.tamburo at gmail.com
Wed Feb 11 13:06:14 EST 2009


Paste  "cmake_minimum_required(VERSION2.6)" (no quotes) into the  
CMakeLists.txt file.

On Feb 11, 2009, at 12:55 PM, Arepi wrote:

>
> Hi,
>
> Im newbie to itk and cmake. I donwloaded and installled cmake 2.6  
> and ITK
> 3.10.0. I maked a new folder copy  the HelloWord.cpp and the  
> Cmakelist.txt
> what belong to it from C:\InsightToolkit-3.10.0\Examples\Installation.
> Then I tryed it Configure. Cmake begun generate but later stop and  
> gave this
> message:
>
> "CMake Warning(dev) in CMakeLists.txt:
> No cmake_minimum_required command is present. A line of code such as
>
>  cmake_minimum_required(VERSION2.6)
>
> should be added at the top of the file. ..."
>
> Can anybody explain what should I do?
>
>  Thanks!
> -- 
> View this message in context: http://www.nabble.com/cmake-warning-tp21958293p21958293.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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-users



More information about the Insight-users mailing list