[Module] Builder rerun cmake after ccmake usage without changing anything
cmake will get reruned after running ccmake without changing anything :
How to reproduce :
- mkdir build
- cd build
- cmake -G Ninja /path/to/pv
- ccmake ./ , q
- ninja -d explain
ninja explain: output build.ninja older than most recent input CMakeCache.txt (1499439177 vs 1499439421)
running ccmake indeed touch CMakeCache, that should not be the case.
A temporary fix is to run chattr +i CMakeCache.txt
Already reported here cmake/cmake#16983 but it seems to be specific to ParaView and VTK
Edited by Mathieu Westphal (Kitware)