Some moredebugging info: cmake versions 2.6.2 and 2.6.4. Re: point 2)
running cmake -C path/to/initcache.cmake PATH does NOT resolve the
problem.

Is it a bug case or expected bahvior?

Dominik

On Thu, 2009-07-23 at 10:33 +0200, Dominik Szczerba wrote:
> Hi,
> I have several frustrating problems using cmake initial cache file with
> some variables in combination with using findvtk in my CMakeLists.txt.
> 
> 1) ccmake . in the build dir invalidates the whole dir: findvtk
> complains about missing VTK_Dir, which *WAS* in the initial cache. I
> have to delete the whole tree and run cmake -C path/to/initcache.cmake
> PATH again
> 
> 2) indentical symptoms are when CMakeLists.txt has changed: VTK_DIR and
> CMAKE_BUILD_TYPE are not there.
> 
> How to resolve it?
> 
> Dominik
> 
> _______________________________________________
> 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 CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
> 

_______________________________________________
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 CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to