Bug Description
When using a release tarball, the git submodule logic always fails (regardless of what the option GIT_SUBMODULE is set to) since there is no .git directory.
lines 219-237: in CMakeLists.txt
The error message one gets is a bit misleading, saying that GIT_SUBMODULE was not set, even though it was.
Environment
Debian 13, and Ubuntu 24.04