summaryrefslogtreecommitdiff
path: root/libc/utils
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2023-02-20 23:07:09 +0000
committerPetr Hosek <phosek@google.com>2023-02-21 19:58:10 +0000
commit1d7dad8ae0d228afa2f0cdb833c25f059736faf1 (patch)
tree3bfecc16a3de52f8fa62a77fd96441035e01b4e3 /libc/utils
parentcfca5f4d0c36d7560930df37b3a4a9cc85521529 (diff)
downloadllvm-1d7dad8ae0d228afa2f0cdb833c25f059736faf1.tar.gz
[libc][CMake] Missing TableGen include
HdrGen CMake build uses TableGen so it should include TableGen module. Differential Revision: https://reviews.llvm.org/D144435
Diffstat (limited to 'libc/utils')
-rw-r--r--libc/utils/HdrGen/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/utils/HdrGen/CMakeLists.txt b/libc/utils/HdrGen/CMakeLists.txt
index 1b361f407f7f..c68314bb41a0 100644
--- a/libc/utils/HdrGen/CMakeLists.txt
+++ b/libc/utils/HdrGen/CMakeLists.txt
@@ -1,3 +1,5 @@
+include(TableGen)
+
set(LLVM_LINK_COMPONENTS Support)
add_tablegen(libc-hdrgen LIBC