[Lldb-commits] [lldb] r309022 - [CMake] NFC. Cleanup unnecessary CMake policy

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 25 13:30:19 PDT 2017


Author: cbieneman
Date: Tue Jul 25 13:30:18 2017
New Revision: 309022

URL: http://llvm.org/viewvc/llvm-project?rev=309022&view=rev
Log:
[CMake] NFC. Cleanup unnecessary CMake policy

This is just setting to the default behavior, so it does nothing.

Modified:
    lldb/trunk/cmake/modules/LLDBStandalone.cmake

Modified: lldb/trunk/cmake/modules/LLDBStandalone.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBStandalone.cmake?rev=309022&r1=309021&r2=309022&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBStandalone.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBStandalone.cmake Tue Jul 25 13:30:18 2017
@@ -3,10 +3,6 @@
 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   project(lldb)
 
-  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)
 
   # Rely on llvm-config.




More information about the lldb-commits mailing list