1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Remove obsolete policy settings

Summary:
The line

 cmake_minimum_required(VERSION 3.4.3)

already has the effect of setting to NEW all policies present in that
release:

 https://cmake.org/cmake/help/v3.4/manual/cmake-policies.7.html

Subscribers: mgorny, llvm-commits

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

llvm-svn: 339376
This commit is contained in:
Stephen Kelly 2018-08-09 20:15:08 +00:00
parent b8574681f1
commit 1d53758782

View File

@ -2,10 +2,6 @@
cmake_minimum_required(VERSION 3.4.3) cmake_minimum_required(VERSION 3.4.3)
cmake_policy(SET CMP0022 NEW)
cmake_policy(SET CMP0048 NEW)
# CMake 3.1 and higher include generator expressions of the form # CMake 3.1 and higher include generator expressions of the form
# $<TARGETLIB:obj> in the SOURCES property. These need to be # $<TARGETLIB:obj> in the SOURCES property. These need to be
# stripped everywhere that access the SOURCES property, so we just # stripped everywhere that access the SOURCES property, so we just
@ -13,10 +9,6 @@ cmake_policy(SET CMP0048 NEW)
# in the output for now. # in the output for now.
cmake_policy(SET CMP0051 OLD) cmake_policy(SET CMP0051 OLD)
cmake_policy(SET CMP0056 NEW)
cmake_policy(SET CMP0057 NEW)
if(POLICY CMP0068) if(POLICY CMP0068)
cmake_policy(SET CMP0068 NEW) cmake_policy(SET CMP0068 NEW)
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON) set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)