Take LCG from lhcbproject metadata
if lcgVersion is not set explicitly (empty, auto, ?), use the version that is in the Gaudi project metadata.
if lcgVersion is not set explicitly (empty, auto, ?), use the version that is in the Gaudi project metadata.