mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 19:46:39 +00:00
[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
This commit is contained in:
parent
6a3e1f433d
commit
c682447cf3
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user