diff options
author | Chris Bieneman <beanz@apple.com> | 2016-09-27 23:18:32 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-09-27 23:18:32 +0000 |
commit | 75ad3de85b7025e7241e9ee869c6840bee88a531 (patch) | |
tree | 9d2b97e0224df8e77850a952e7c9ed7d147c2106 | |
parent | f432e2bc7482851716495d256a581b1f38b9b810 (diff) | |
download | bcm5719-llvm-75ad3de85b7025e7241e9ee869c6840bee88a531.tar.gz bcm5719-llvm-75ad3de85b7025e7241e9ee869c6840bee88a531.zip |
[CMake] Force CMP0057 to NEW
Hans reported an issue with r282510 on the list. This should resolve the issue.
llvm-svn: 282552
-rw-r--r-- | llvm/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 18d4b9147c7..85d4b51e00b 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -15,6 +15,10 @@ if (POLICY CMP0051) cmake_policy(SET CMP0051 OLD) endif() +if(POLICY CMP0057) + cmake_policy(SET CMP0057 NEW) +endif() + if(NOT DEFINED LLVM_VERSION_MAJOR) set(LLVM_VERSION_MAJOR 4) endif() |