[Lldb-commits] [PATCH] D89614: [lldb] Enable cmake policy CMP0077 for option()

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 17 00:16:33 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGae4fe1984f0e: [lldb] Enable cmake policy CMP0077 for option() (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89614/new/

https://reviews.llvm.org/D89614

Files:
  lldb/CMakeLists.txt


Index: lldb/CMakeLists.txt
===================================================================
--- lldb/CMakeLists.txt
+++ lldb/CMakeLists.txt
@@ -4,6 +4,10 @@
   cmake_policy(SET CMP0075 NEW)
 endif()
 
+if(POLICY CMP0077)
+  cmake_policy(SET CMP0077 NEW)
+endif()
+
 # Add path for custom modules.
 set(CMAKE_MODULE_PATH
   ${CMAKE_MODULE_PATH}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89614.298811.patch
Type: text/x-patch
Size: 347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201017/e8c3a4a9/attachment.bin>


More information about the lldb-commits mailing list