When the CMake configuration changes, a new cache.cmake.in file is written by basis_add_script. This file should be copied to cache.cmake whenever the two files differ. For some reason, cmake -E copy_if_different doesn't do this in my MIRTK project. CMake version used is 3.4.1.
When the CMake configuration changes, a new
cache.cmake.in
file is written bybasis_add_script
. This file should be copied tocache.cmake
whenever the two files differ. For some reason,cmake -E copy_if_different
doesn't do this in my MIRTK project. CMake version used is 3.4.1.