[Insight-users] cmake lists

Dan Mueller dan.muel at gmail.com
Thu Mar 11 03:30:50 EST 2010


Hi Fariba,

If you want to remove this warning, please add the following line at
the top of your CMakeLists.txt:
    CMAKE_MINIMUM_REQUIRED(VERSION 2.4) # Choose the correct version

HTH

Cheers, Dan

On 11 March 2010 09:14,  <fariba_yoo at yahoo.co.uk> wrote:
> CMake Warning (dev) in CMakeLists.txt:
>
> No cmake_minimum_required command is present. A line of code such as
>
> cmake_minimum_required(VERSION 2.8)
>
> should be added at the top of the file. The version specified may be lower
>
> if you wish to support older CMake versions for this project. For more
>
> information run "cmake --help-policy CMP0000".
>
> This warning is for project developers. Use -Wno-dev to suppress it.


More information about the Insight-users mailing list