[CMake] fix submodule detection

Because `PROJECT_SOURCE_DIR` is only set after a call to `PROJECT`,
which must be done after the `INCLUDE`
22 jobs for devel in 55 minutes and 56 seconds (queued for 1 second)