diff options
| author | Chris Bieneman <chris.bieneman@me.com> | 2018-08-22 18:41:14 +0000 |
|---|---|---|
| committer | Chris Bieneman <chris.bieneman@me.com> | 2018-08-22 18:41:14 +0000 |
| commit | a2133f1a681dbcfce14d705252c75eb741c0d7ec (patch) | |
| tree | ffaaf5819fdfacaae66ac3272707e1b718d641f7 | |
| parent | dc622702aa2c25a3a01acbdbbb3be806daf9f77a (diff) | |
| download | bcm5719-llvm-a2133f1a681dbcfce14d705252c75eb741c0d7ec.tar.gz bcm5719-llvm-a2133f1a681dbcfce14d705252c75eb741c0d7ec.zip | |
[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
| -rw-r--r-- | llvm/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index d4274efd519..74343fe609a 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -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) |

