Something&#39;s not right... This should work.<br><br>Is there a CMakeCache.txt file in the source tree? If so, delete it and start with a clean source tree.<br><br>Are you getting configure errors?<br><br>Steps to reproduce the issue might help to diagnose the problem.<br>
<br><br><br><div class="gmail_quote">On Thu, Jul 23, 2009 at 6:22 AM, Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Some moredebugging info: cmake versions 2.6.2 and 2.6.4. Re: point 2)<br>
running cmake -C path/to/initcache.cmake PATH does NOT resolve the<br>
problem.<br>
<br>
Is it a bug case or expected bahvior?<br>
<font color="#888888"><br>
Dominik<br>
</font><div><div></div><div class="h5"><br>
On Thu, 2009-07-23 at 10:33 +0200, Dominik Szczerba wrote:<br>
&gt; Hi,<br>
&gt; I have several frustrating problems using cmake initial cache file with<br>
&gt; some variables in combination with using findvtk in my CMakeLists.txt.<br>
&gt;<br>
&gt; 1) ccmake . in the build dir invalidates the whole dir: findvtk<br>
&gt; complains about missing VTK_Dir, which *WAS* in the initial cache. I<br>
&gt; have to delete the whole tree and run cmake -C path/to/initcache.cmake<br>
&gt; PATH again<br>
&gt;<br>
&gt; 2) indentical symptoms are when CMakeLists.txt has changed: VTK_DIR and<br>
&gt; CMAKE_BUILD_TYPE are not there.<br>
&gt;<br>
&gt; How to resolve it?<br>
&gt;<br>
&gt; Dominik<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>