mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[CMake] Remove unneeded and outdated policy
This was needed way back because we didn't properly handle that the SOURCES property of a target could have things that weren't source files to compile. Almost 2 years ago Takumi fixed that, and now CMake is throwing warnings that we should get off the old behavior. llvm-svn: 340436
This commit is contained in:
parent
fde8ce5023
commit
ce46b06c17
@ -2,13 +2,6 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.4.3)
|
||||
|
||||
# CMake 3.1 and higher include generator expressions of the form
|
||||
# $<TARGETLIB:obj> in the SOURCES property. These need to be
|
||||
# stripped everywhere that access the SOURCES property, so we just
|
||||
# defer to the OLD behavior of not including generator expressions
|
||||
# in the output for now.
|
||||
cmake_policy(SET CMP0051 OLD)
|
||||
|
||||
if(POLICY CMP0068)
|
||||
cmake_policy(SET CMP0068 NEW)
|
||||
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
|
||||
|
Loading…
Reference in New Issue
Block a user