Something's not right... This should work. Is there a CMakeCache.txt file in the source tree? If so, delete it and start with a clean source tree.
Are you getting configure errors? Steps to reproduce the issue might help to diagnose the problem. On Thu, Jul 23, 2009 at 6:22 AM, Dominik Szczerba <[email protected]>wrote: > 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 >
_______________________________________________ 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
