<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It means that when the person who wrote the CMakeLists.txt file for the
project was doing so, they didn't put a line like this at the top:<br>
<br>
cmake_minimum_required(VERSION 2.6)<br>
<br>
The purpose of this is to prevent old versions of CMake being used with
projects they can't handle. See the following:<br>
<br>
<a class="moz-txt-link-freetext"
 href="http://www.cmake.org/cmake/help/cmake2.6docs.html#command:cmake_minimum_required">http://www.cmake.org/cmake/help/cmake2.6docs.html#command:cmake_minimum_required</a><br>
<br>
I'd guess cmake_minimum_required may not have been available/required
when the CMakeLists.txt files for the itk examples were being written -
so it's just a harmless case of files being outdated by ever-advancing
tools (i.e. not the fault of the people who wrote the files).<br>
<br>
Bottom line: ignore the warnings :)<br>
<br>
Regards,<br>
Stu<br>
<br>
michael ma wrote:
<blockquote
 cite="mid:22ccdd88.1f79.129d3c6cd7a.Coremail.michael8446@126.com"
 type="cite">
  <div>HI guys,</div>
  <div>when I use Cmake to configure examples surported by itk, it
always have Cmake warning below:</div>
  <div> </div>
  <div>cmake warning(dev) in cmakelist.txt: </div>
  <div>    no cmake_required comond is present.A line of code such as
cmake minimum required(versin 2.6) should at the top of the file. the
version specified may be lower if you wish to support older CMake
versions for this project.</div>
  <div> </div>
  <div>what does that mean? what should I do?</div>
  <div> </div>
  <div> thanks in advance for any help.</div>
  <div> </div>
  <div>Best,</div>
  <div>Michael</div>
  <br>
  <br>
  <span title="neteasefooter"></span>
  <pre wrap="">
<hr size="4" width="90%">
_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a>

Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></pre>
</blockquote>
</body>
</html>