CMake missing modules directory April 3, 2023 by Tarik Do hash -r to clear the cache, then do cmake --version. It should work.