aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2015-08-05 17:35:05 +0800
committerdebris <marek.kotewicz@gmail.com>2015-08-05 17:35:05 +0800
commitc8954e1e7c1049fc8b4161f112c6c834edce9d58 (patch)
treeb2980b176096e1c44bc8fffc40cd76db23871597
parent0f06fd8c2fbb62744e435cb7ae9967e95ade6b2a (diff)
downloaddexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar.gz
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar.bz2
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar.lz
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar.xz
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.tar.zst
dexon-solidity-c8954e1e7c1049fc8b4161f112c6c834edce9d58.zip
fixed cmake policy CMP0042, MACOSX RPATH
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8150806..6843aaf2 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")