[build] Fix stand-alone builds of clang.
authorFrancesco Petrogalli <francesco.petrogalli@apple.com>
Mon, 23 Jan 2023 23:56:37 +0000 (00:56 +0100)
committerFrancesco Petrogalli <francesco.petrogalli@apple.com>
Mon, 23 Jan 2023 23:56:58 +0000 (00:56 +0100)
commit5d02e38f56dfa6c46dd71658c185582af1ffb07b
treefee10809fce7305cde08d8b7ce3da893099bdfad
parenta1baa7a5c57ea3065f8f354d2fc758b3328040fd
[build] Fix stand-alone builds of clang.

The target RISCVTargetParserTablegen needs to be visible for stand-alone [1] builds of clang to prevent configuration failures.

[1] https://llvm.org/docs/GettingStarted.html#stand-alone-builds

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D142403
llvm/cmake/modules/LLVMConfig.cmake.in