From 5590d523cfaa5a913fd39325179fd15d4c6f8b5e Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Wed, 19 Feb 2025 20:48:06 -0600 Subject: [PATCH] [lld][build] include Version.inc Without this inc file `getLLDVersion` is not possible; see https://github.com/llvm/llvm-project/blob/main/lld/include/lld/Common/Version.h#L16. --- lld/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt index 012a943d5bcec..55d7599a447fc 100644 --- a/lld/CMakeLists.txt +++ b/lld/CMakeLists.txt @@ -207,6 +207,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) COMPONENT lld-headers FILES_MATCHING PATTERN "*.h" + PATTERN "*.inc" ) if (NOT LLVM_ENABLE_IDE)