[llvm] 7f8dc34 - [llvm] Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 16:49:06 PDT 2020
Author: Jonas Devlieghere
Date: 2020-10-12T16:48:59-07:00
New Revision: 7f8dc347c9552f339b4410b679d91bceb2cc456e
URL: https://github.com/llvm/llvm-project/commit/7f8dc347c9552f339b4410b679d91bceb2cc456e
DIFF: https://github.com/llvm/llvm-project/commit/7f8dc347c9552f339b4410b679d91bceb2cc456e.diff
LOG: [llvm] Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake
Export LLVM_USE_SPLIT_DWARF in LLVMConfig.cmake so that it can be used
from standalone builds of clang and lldb. Currently, there is no way for
standalone builds to know whether this option was set which means that
it only applies to LLVM.
Differential revision: https://reviews.llvm.org/D89282
Added:
Modified:
llvm/cmake/modules/LLVMConfig.cmake.in
Removed:
################################################################################
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index d8a511b69fdd..4ead4f4198ff 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -16,6 +16,8 @@ set(LLVM_USE_CRT_MINSIZEREL @LLVM_USE_CRT_MINSIZEREL@)
set(LLVM_USE_CRT_RELEASE @LLVM_USE_CRT_RELEASE@)
set(LLVM_USE_CRT_RELWITHDEBINFO @LLVM_USE_CRT_RELWITHDEBINFO@)
+set(LLVM_USE_SPLIT_DWARF @LLVM_USE_SPLIT_DWARF@)
+
set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
set(LLVM_AVAILABLE_LIBS @LLVM_AVAILABLE_LIBS@)
More information about the llvm-commits
mailing list