From: Sanjoy Das <sanjoy@playingwithpointers.com>
Date: Wed, 1 Apr 2015 03:16:10 +0000 (+0000)
Subject: [CMake] Cache LLVM_ABI_BREAKING_CHECKS in LLVMConfig.cmake.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=000e1b22e4382527c47d8749670ce80b896c70c1;p=oota-llvm.git

[CMake] Cache LLVM_ABI_BREAKING_CHECKS in LLVMConfig.cmake.

Not having this breaks clang builds that use an already-built LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233784 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in
index 9a9cd854427..6517cdd19c6 100644
--- a/cmake/modules/LLVMConfig.cmake.in
+++ b/cmake/modules/LLVMConfig.cmake.in
@@ -23,6 +23,8 @@ set(TARGET_TRIPLE "@TARGET_TRIPLE@")
 
 set(LLVM_ENABLE_ASSERTIONS @LLVM_ENABLE_ASSERTIONS@)
 
+set(LLVM_ABI_BREAKING_CHECKS @LLVM_ABI_BREAKING_CHECKS@)
+
 set(LLVM_ENABLE_EH @LLVM_ENABLE_EH@)
 
 set(LLVM_ENABLE_RTTI @LLVM_ENABLE_RTTI@)