summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/LLVMConfig.cmake.in
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-09-30 20:03:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-09-30 20:03:59 +0000
commit95679409048c11fb8a0712ffd30fa083af2d57fb (patch)
treec52d55ed3cc3da7cc450ba94de88320c63a45922 /llvm/cmake/modules/LLVMConfig.cmake.in
parent471910d754af596376ad7e230df64fad30e3121a (diff)
downloadbcm5719-llvm-95679409048c11fb8a0712ffd30fa083af2d57fb.tar.gz
bcm5719-llvm-95679409048c11fb8a0712ffd30fa083af2d57fb.zip
build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig
Serialize the value of the configuration option into the configuration so that builds which integrate LLVM can identify the value of the flag that was used to build the libraries. This is intended to be used by Swift to control tests which rely on the unwind information. llvm-svn: 373253
Diffstat (limited to 'llvm/cmake/modules/LLVMConfig.cmake.in')
-rw-r--r--llvm/cmake/modules/LLVMConfig.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index ca2a0b50897..7fdca536c1f 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -45,6 +45,8 @@ set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TERMINFO@)
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
+set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
+
set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
set(LLVM_LIBXML2_ENABLED @LLVM_LIBXML2_ENABLED@)
OpenPOWER on IntegriCloud