[llvm] [cmake] Expose LLVM_BUILD_TELEMETRY in LLVMConfig.cmake (#… · llvm/llvm-project@2342bb2 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 2342bb2

mgornytstellar

authored and

committed

[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. (cherry picked from commit 2ad9d5f)

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 2 additions & 0 deletions

Original file line number Diff line number Diff line change
@@ -100,6 +100,8 @@ set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
100 100
101 101 set(LLVM_BUILD_32_BITS @LLVM_BUILD_32_BITS@)
102 102
103 +set(LLVM_BUILD_TELEMETRY @LLVM_BUILD_TELEMETRY@)
104 +
103 105 if (NOT "@LLVM_PTHREAD_LIB@" STREQUAL "")
104 106 set(LLVM_PTHREAD_LIB "@LLVM_PTHREAD_LIB@")
105 107 endif()