aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-10 19:49:12 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-10 19:49:12 +0800
commitc8ad93914148a3a0c191f22bb21e9eabf217d1ae (patch)
tree82e9e23bf82c0edb4c3dd2a19dd18b041996062f
parent8f3f5275c01e40bbbf0e1a5df3ec01115e757478 (diff)
downloaddexon-solidity-c8ad93914148a3a0c191f22bb21e9eabf217d1ae.tar.gz
dexon-solidity-c8ad93914148a3a0c191f22bb21e9eabf217d1ae.tar.zst
dexon-solidity-c8ad93914148a3a0c191f22bb21e9eabf217d1ae.zip
updated cmake policies
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 908b8caf..28e5cb75 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()