diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-13 11:22:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-01-13 11:22:13 +0100 |
commit | ed499c6c4572a4b1eb33dd9b764156ba1447ea94 (patch) | |
tree | 13fc52cf6b1f0d1f19079f12ed9810feec649f8b | |
parent | [clang] Bump libclang-cpp.so SOVERSION after ABI-breaking backport (diff) | |
download | llvm-project-ed499c6c4572a4b1eb33dd9b764156ba1447ea94.tar.gz llvm-project-ed499c6c4572a4b1eb33dd9b764156ba1447ea94.tar.bz2 llvm-project-ed499c6c4572a4b1eb33dd9b764156ba1447ea94.zip |
[clang] Install clang-tblgen to aid cross-compilegentoo-15.0.7
Patch by James Le Cuirot <chewi@gentoo.org>.
Gentoo-Component: clang
-rw-r--r-- | clang/utils/TableGen/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/utils/TableGen/CMakeLists.txt b/clang/utils/TableGen/CMakeLists.txt index 04aa72cde03e..d661ea8abef6 100644 --- a/clang/utils/TableGen/CMakeLists.txt +++ b/clang/utils/TableGen/CMakeLists.txt @@ -26,3 +26,13 @@ add_tablegen(clang-tblgen CLANG target_link_libraries(clang-tblgen PRIVATE clangSupport) set_target_properties(clang-tblgen PROPERTIES FOLDER "Clang tablegenning") + +install(TARGETS clang-tblgen + COMPONENT clang-tblgen + RUNTIME DESTINATION "${CLANG_TOOLS_INSTALL_DIR}") + +if(NOT LLVM_ENABLE_IDE) + add_llvm_install_targets("install-clang-tblgen" + DEPENDS clang-tblgen + COMPONENT clang-tblgen) +endif() |