Re: [CMake] Cache loss on warning

2010-08-20 Thread Michael Wild
On 20. Aug, 2010, at 14:29 , Diablo 666 wrote: > >> This sounds like a pretty oldish version of CMake to me... What version are >> you using? > > "cmake version 2.6-patch 4", Compatibility mode is set to 2.6 via the > CMakeLists.txt Yeah, that was a problem of 2.6. 2.8 doesn't try to force t

Re: [CMake] Cache loss on warning

2010-08-20 Thread Diablo 666
> This sounds like a pretty oldish version of CMake to me... What version are > you using? "cmake version 2.6-patch 4", Compatibility mode is set to 2.6 via the CMakeLists.txt ___ Powered by www.kitware.com V

Re: [CMake] Cache loss on warning

2010-08-20 Thread Michael Wild
On 20. Aug, 2010, at 10:56 , Diablo 666 wrote: > > Hi, > > there seems to be a little bug in ccmake: > When I start cmake like follows: > > cmake . -DFOO_DIR=/path/to -DVTK_DIR=/other/path/to > > I get the following warning: > > Warning: CMake is forcing CMAKE_CXX_COMPILER to "/usr/bin/g++"

[CMake] Cache loss on warning

2010-08-20 Thread Diablo 666
Hi, there seems to be a little bug in ccmake: When I start cmake like follows: cmake . -DFOO_DIR=/path/to -DVTK_DIR=/other/path/to I get the following warning: Warning: CMake is forcing CMAKE_CXX_COMPILER to "/usr/bin/g++" to match that imported from VTK. This is required because C++ project