aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-10 18:39:41 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-10 18:39:41 +0800
commit8f3f5275c01e40bbbf0e1a5df3ec01115e757478 (patch)
tree08bbdf56408aebeefe0a1e7e4507f197169d1320
parent33ac800c01ca080cea4b954a0c609782c9f3bbe3 (diff)
downloaddexon-solidity-8f3f5275c01e40bbbf0e1a5df3ec01115e757478.tar.gz
dexon-solidity-8f3f5275c01e40bbbf0e1a5df3ec01115e757478.tar.zst
dexon-solidity-8f3f5275c01e40bbbf0e1a5df3ec01115e757478.zip
jsonrpc option in cmakes, removed all warnings
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2c00001..908b8caf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,10 @@
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)
+ # 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")