diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-12-10 19:49:12 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-12-10 19:49:12 +0800 |
commit | ff445324a30f1c91c1b8a6b7c828d88bc4c66e78 (patch) | |
tree | 0974a051530ca9b557004194952450c22beb2f9d | |
parent | 37f7535a00697b2ad971b3e53c6dc941a64384d1 (diff) | |
download | dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar.gz dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar.bz2 dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar.lz dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar.xz dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.tar.zst dexon-solidity-ff445324a30f1c91c1b8a6b7c828d88bc4c66e78.zip |
updated cmake policies
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ad93609f..44a7b9bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_policy(SET CMP0015 NEW) # this policy was introduced in cmake 3.0 # remove if, once 3.0 will be used on unix -if (APPLE) +if (${CMAKE_MAJOR_VERSION} GREATER 2) # old policy do not use MACOSX_RPATH cmake_policy(SET CMP0042 OLD) endif() |