[compiler-rt] r237819 - Revert some of "Silence some CMake 3.3 dev warnings in compiler-rt"
Reid Kleckner
reid at kleckner.net
Wed May 20 11:40:00 PDT 2015
Author: rnk
Date: Wed May 20 13:39:59 2015
New Revision: 237819
URL: http://llvm.org/viewvc/llvm-project?rev=237819&view=rev
Log:
Revert some of "Silence some CMake 3.3 dev warnings in compiler-rt"
This reverts part of r237808.
The CMP0057 warnings came from an old development build of CMake that
nobody else has. We don't need the cruft.
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=237819&r1=237818&r2=237819&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Wed May 20 13:39:59 2015
@@ -38,12 +38,6 @@ else()
if(POLICY CMP0022)
cmake_policy(SET CMP0022 NEW) # automatic when 2.8.12 is required
endif()
- # PR23595: We use add_custom_command with the same MAIN_DEPENDENCY source file
- # multiple times to compile for multiple architectures. CMake 3.3+ will error
- # on this because it breaks some generators, but it hasn't been a problem yet.
- if(POLICY CMP0057)
- cmake_policy(SET CMP0057 OLD)
- endif()
endif()
# Top level target used to build all compiler-rt libraries.
More information about the llvm-commits
mailing list