[libc-commits] [libc] 1d7dad8 - [libc][CMake] Missing TableGen include
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Tue Feb 21 11:58:23 PST 2023
Author: Petr Hosek
Date: 2023-02-21T19:58:10Z
New Revision: 1d7dad8ae0d228afa2f0cdb833c25f059736faf1
URL: https://github.com/llvm/llvm-project/commit/1d7dad8ae0d228afa2f0cdb833c25f059736faf1
DIFF: https://github.com/llvm/llvm-project/commit/1d7dad8ae0d228afa2f0cdb833c25f059736faf1.diff
LOG: [libc][CMake] Missing TableGen include
HdrGen CMake build uses TableGen so it should include TableGen module.
Differential Revision: https://reviews.llvm.org/D144435
Added:
Modified:
libc/utils/HdrGen/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/utils/HdrGen/CMakeLists.txt b/libc/utils/HdrGen/CMakeLists.txt
index 1b361f407f7f3..c68314bb41a0c 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
More information about the libc-commits
mailing list