Skip to content

Commit 2ad9d5f

Browse files
authored
[llvm] [cmake] Expose LLVM_BUILD_TELEMETRY in LLVMConfig.cmake (#126710)
Add `LLVM_BUILD_TELEMETRY` to the list of flags exposed in `LLVMConfig.cmake`. This fixes telemetry library being misdetected as `OFF` when building LLDB standalone. Fixes bac62ee. ------ I guess this also needs a backport to 20.x.
1 parent b7188f6 commit 2ad9d5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/modules/LLVMConfig.cmake.in

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
100100

101101
set(LLVM_BUILD_32_BITS @LLVM_BUILD_32_BITS@)
102102

103+
set(LLVM_BUILD_TELEMETRY @LLVM_BUILD_TELEMETRY@)
104+
103105
if (NOT "@LLVM_PTHREAD_LIB@" STREQUAL "")
104106
set(LLVM_PTHREAD_LIB "@LLVM_PTHREAD_LIB@")
105107
endif()

0 commit comments

Comments
 (0)