cmake: Install CheckAtomic.cmake (needed by lldb)
authorChris Bieneman <beanz@apple.com>
Thu, 25 Aug 2016 20:53:00 +0000 (20:53 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 25 Aug 2016 20:53:00 +0000 (20:53 +0000)
Summary:
Install CheckAtomic.cmake along with other LLVM modules, therefore making it possible for other projects to use it. This file is needed for LLDB to be built standalone, and installing it was suggested in https://reviews.llvm.org/D23881.

Patch by: Michał Górny

Reviewers: krytarowski, zturner, eugenis, jyknight, labath, beanz

Subscribers: beanz, llvm-commits

Differential Revision: https://reviews.llvm.org/D23887

llvm-svn: 279777

llvm/cmake/modules/CMakeLists.txt

index 826dd36..d2510b8 100644 (file)
@@ -91,6 +91,5 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
     PATTERN LLVMConfig.cmake EXCLUDE
     PATTERN LLVMConfigVersion.cmake EXCLUDE
     PATTERN LLVM-Config.cmake EXCLUDE
-    PATTERN GetHostTriple.cmake EXCLUDE
-    PATTERN CheckAtomic.cmake EXCLUDE)
+    PATTERN GetHostTriple.cmake EXCLUDE)
 endif()