mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake: Set CMP0043 to NEW
This avoids warning in CMake 3.0.2
This commit is contained in:
parent
7cd00e3630
commit
cfef5ec6b2
@ -6,10 +6,9 @@ macro (eth_policy)
|
||||
|
||||
if (${CMAKE_VERSION} VERSION_GREATER 3.0)
|
||||
|
||||
# Avoid warnings in CMake 3.0.2:
|
||||
cmake_policy(SET CMP0042 NEW)
|
||||
|
||||
# ignore COMPILE_DEFINITIONS_<Config> properties
|
||||
cmake_policy(SET CMP0043 OLD)
|
||||
cmake_policy(SET CMP0043 NEW)
|
||||
|
||||
# allow VERSION argument in project()
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
Loading…
Reference in New Issue
Block a user