mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 12:55:00 +00:00
[CMake] Force CMP0057 to NEW
Hans reported an issue with r282510 on the list. This should resolve the issue. llvm-svn: 282552
This commit is contained in:
parent
f432e2bc74
commit
75ad3de85b
@ -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…
Reference in New Issue
Block a user