Clarification - this is because we are tracking CTK&#39;s master branch - you wouldn&#39;t see this problem if you fixed your dependency to be a specific release/git commit.<div><br>-Danielle</div><div><br><br><div class="gmail_quote">
On Wed, Mar 21, 2012 at 2:26 PM, Danielle Pace <span dir="ltr">&lt;<a href="mailto:danielle.pace@kitware.com">danielle.pace@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>An idea for future cmake improvements - </div><div><br></div><div>We ran into an issue on one of the open-source toolkits I&#39;m working on (Tubetk, <a href="http://public.kitware.com/Wiki/TubeTK" target="_blank">http://public.kitware.com/Wiki/TubeTK</a>).  TubeTK uses superbuild (ExternalProject_Add) to handle a dependency on CTK, which in turn requires CMake <span>2.8.4.  However, the TubeTK requirements were not kept in sync (was set to require CMake 2.8).</span></div>

<div><span><br></span></div><div><span>On a dashboard machine with CMake &lt; 2.8.4, this gives a somewhat cryptic error message related to CTK, but not referencing the root problem with CMake:</span></div><div>
<a href="https://www.kitware.com/CDash/viewConfigure.php?buildid=197007" target="_blank">https://www.kitware.com/CDash/viewConfigure.php?buildid=197007</a></div>
<div>Such an error message would be very confusing for end-users.</div><div><br></div><div>Of course, the fix is to manually change a project&#39;s requirements whenever a dependency&#39;s requirements change, but this is somewhat annoying.</div>

<div><br></div><div>Has anyone given any thought to automatic integration of requirements across dependencies?  Ex. if dependency A requires CMake 2.8.4, dependency B requires CMake 2.8.2, and the main project requires CMake 2.8, the actual requirement is CMake 2.8.4.  Besides this particular example with cmake_minimum_required, it would be super cool if this kind of thing could work with other dependencies, ex. versions of Qt.</div>

<div><br></div><div>Best,<br><br>Danielle</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br>Danielle Pace, M.ESc.<br>Research and Development Engineer<br>Kitware Inc.,<br>North Carolina Office<div>
<br></div><div><a href="http://www.kitware.com" target="_blank">www.kitware.com</a></div>

<div><a href="tel:919-969-6990%20X%20319" value="+19199696990" target="_blank">919-969-6990 X 319</a></div><br>
</div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Danielle Pace, M.ESc.<br>Research and Development Engineer<br>Kitware Inc.,<br>North Carolina Office<div><br></div><div><a href="http://www.kitware.com" target="_blank">www.kitware.com</a></div>
<div>919-969-6990 X 319</div><br>
</div>