I have moved my entire CMake projects down one directory to be inside a new directory called resources/...
.
Doing so, I now received this error.
CMake Error: The source "C:/.../CMake_tutorial/resources/CMakeLists.txt" does not match the source "C:/.../CMake_tutorial/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
I can only get this to work with a command line execution using cmake --fresh -S . -B build
, but I would like to use the GUI. I have deleted all the previous builds and caches but it keeps happening.