问题
I am trying to build cmake after vtk has been built. I see that WITH_VTK is checked, so I try to change VTK_PATH inplace:
Unfortunately I get this message
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK
in log window and also the variable resets after pressing Configure or Generate. I tried to clear cache from File menu. And also tried to 'Add Entry'. Nothing helps. Is there any instruction how to set parameter in this beautifull app?
回答1:
Ok, I've found out how to conquer it:
- clear cache
- Add Entry VTK_DIR pointing not to the bin/Debug folder, but to the C:\VTK-8.0.1-bin itself
- Now press Configure and Generate then.
来源:https://stackoverflow.com/questions/46268235/cmake-gui-resets-parameter-how-do-i-set-parameter-in-cmake-gui