OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3e1f4
)
[CMake] Force CMP0057 to NEW
author
Chris Bieneman
<beanz@apple.com>
Tue, 27 Sep 2016 23:18:32 +0000
(23:18 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Tue, 27 Sep 2016 23:18:32 +0000
(23:18 +0000)
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
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
18d4b91
..
85d4b51
100644
(file)
--- 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()