aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2018-07-24 23:02:47 +0800
committerPaweł Bylica <chfast@gmail.com>2018-07-24 23:04:44 +0800
commitcfef5ec6b2852fce5c8bad63bde31ede5f2ec2f7 (patch)
tree803fedb86f4a439d8e10aa2d28b1625bf6a287df /cmake
parent7cd00e36303f280a703c21593446131c83ce57d0 (diff)
downloaddexon-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')
-rw-r--r--cmake/EthPolicy.cmake5
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)