[CMake] problems with cache and findvtk

Mathieu Malaterre mathieu.malaterre at gmail.com
Sat Jul 25 12:37:19 EDT 2009


On Fri, Jul 24, 2009 at 11:05 PM, David Cole<david.cole at kitware.com> wrote:
> ccmake . does not erase the cache.

Yes, it does AFAIK. When you have conflicting compiler defined in let
say VTK and another set ITK, and you try to import them. Unless you
use CMAKE_OVERRIDE_COMPILER_MISMATCH, cmake will start deleting your
entries in the cache.

the only solution I found is to make sure to use cmake (not ccmake)
and pass the appropriate -DVTK_DIR option on the first configure. Once
this passed, you can use ccmake again.

2cts
-- 
Mathieu
http://mathieumalaterre.com


More information about the CMake mailing list