[Lldb-commits] [PATCH] D18018: [LLDB] Fix standalone build with CMake 2.8.12.2, broken after adding SymbolFile PDB plugin

Eugene Zelenko via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 9 16:52:57 PST 2016


Eugene.Zelenko created this revision.
Eugene.Zelenko added a reviewer: zturner.
Eugene.Zelenko added a subscriber: lldb-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.

LLVM and Clang CMakeLists.txt set this policy explicitly.

Repository:
  rL LLVM

http://reviews.llvm.org/D18018

Files:
  cmake/modules/LLDBStandalone.cmake

Index: cmake/modules/LLDBStandalone.cmake
===================================================================
--- cmake/modules/LLDBStandalone.cmake
+++ cmake/modules/LLDBStandalone.cmake
@@ -4,6 +4,10 @@
   project(lldb)
   cmake_minimum_required(VERSION 2.8)
 
+  if (POLICY CMP0022)
+    cmake_policy(SET CMP0022 NEW) # automatic when 2.8.12 is required
+  endif()
+
   option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
 
   set(LLDB_PATH_TO_LLVM_SOURCE "" CACHE PATH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18018.50214.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160310/ff97df95/attachment.bin>


More information about the lldb-commits mailing list