There is a typo in the cmake configuration. It should be RISCVTargetParserTableGen, not RISCVTargetParserTablegen. This reverts commit 5d02e38f.