cmake: don't use generated files to detect a submodule
Even if Makefile for some reason was checked in in a submodule, it is still a generated file, will be cleaned, won't be in a source package. One cannot jump to conclusions if it doesn't exist.
Showing
Please register or sign in to comment