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 | c682447cf30667aea5cfd29ef823a7d953eca9a6 (patch) | |
tree | 0a436d71ce662db88ed4a1b896fef19f01518778 /CMakeLists.txt | |
parent | 6a3e1f433d8222dc6a5a2249b3193c87e0164869 (diff) |
[CMake] Force CMP0057 to NEW
Hans reported an issue with r282510 on the list. This should resolve the issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 18d4b9147c7..85d4b51e00b 100644 --- a/CMakeLists.txt +++ b/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() |