aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2015-08-06 05:48:19 +0800
committerdebris <marek.kotewicz@gmail.com>2015-08-06 05:51:52 +0800
commitcbe7593460312f364b3677ecff2d71ef901c4648 (patch)
tree0866093cc2d2556758f1dbfbf604ed6ca29ac9b3
parent876f54694aa2ec98eb17e2d0d96a59e55f0d0ad9 (diff)
downloaddexon-solidity-cbe7593460312f364b3677ecff2d71ef901c4648.tar.gz
dexon-solidity-cbe7593460312f364b3677ecff2d71ef901c4648.tar.zst
dexon-solidity-cbe7593460312f364b3677ecff2d71ef901c4648.zip
now policy CMP0042 is set to OLD
This reverts commit 61e99b1040b80685c70c57cfb23f92e898cd41fb.
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66f32e4d..21fc18f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,4 @@
cmake_policy(SET CMP0015 NEW)
-# this policy was introduced in cmake 3.0
-# remove if, once 3.0 will be used on unix
-if (${CMAKE_MAJOR_VERSION} GREATER 2)
- # old policy do not use MACOSX_RPATH
- cmake_policy(SET CMP0042 OLD)
-endif()
set(CMAKE_AUTOMOC OFF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")