diff options
author | Paweł Bylica <chfast@gmail.com> | 2018-07-24 23:02:47 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2018-07-24 23:04:44 +0800 |
commit | cfef5ec6b2852fce5c8bad63bde31ede5f2ec2f7 (patch) | |
tree | 803fedb86f4a439d8e10aa2d28b1625bf6a287df /cmake/EthPolicy.cmake | |
parent | 7cd00e36303f280a703c21593446131c83ce57d0 (diff) | |
download | dexon-solidity-cfef5ec6b2852fce5c8bad63bde31ede5f2ec2f7.tar.gz dexon-solidity-cfef5ec6b2852fce5c8bad63bde31ede5f2ec2f7.tar.zst dexon-solidity-cfef5ec6b2852fce5c8bad63bde31ede5f2ec2f7.zip |
CMake: Set CMP0043 to NEW
This avoids warning in CMake 3.0.2
Diffstat (limited to 'cmake/EthPolicy.cmake')
-rw-r--r-- | cmake/EthPolicy.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/EthPolicy.cmake b/cmake/EthPolicy.cmake index 76d49051..7a0b2335 100644 --- a/cmake/EthPolicy.cmake +++ b/cmake/EthPolicy.cmake @@ -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) |