Well, not if you have the source directory on the guest machine, which is a bit what also CMake expects when cloning submodules, because it doesn't clone all of them. Especially on Windows there are submodules which cannot be cloned due to the filename used by the source code.