[Cmake] VTK_SOURCE_DIR
Andy Cedilnik
Andy.Cedilnik at kitware.com
Tue Dec 11 15:59:48 EST 2001
At 09:39 PM 12/11/2001 +0100, Sylvain Jaume wrote:
>Andy,
>
>My ~/VTK-build/CMakeCache.txt says:
>
>//DO NOT EDIT, VTK_SOURCE_DIR loaded from external file. To change
>// this value edit this file: /home/jaume/VTK-build/CMakeCache.txt
>//
>VTK_SOURCE_DIR:INTERNAL=/home/jaume/VTK
>But there is no VTK_SOURCE_DIR in my ~/Local-build/CMakeCache.txt
Ok, one more time, rename ~/VTK-build/CMakeCache.txt and rerun cmake:
cd ~/VTK-build
ccmake ~/VTK
If you are brave enough, you can copy all external variables from old
CMakeCache
file. Then you will probably have to recompile at least part of VTK.
After that it should work.
Andy
More information about the CMake
mailing list