@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8.12)
set(PROJECT_VERSION "0.9.38")
if (${CMAKE_VERSION} VERSION_GREATER 3.0)
cmake_policy(SET CMP0042 NEW) # fix MACOSX_RPATH
cmake_policy(SET CMP0048 NEW) # allow VERSION argument in project()
project(ethereum VERSION ${PROJECT_VERSION})
else()
@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 2.8.12)
project(EVMJIT VERSION 0.9.0 LANGUAGES CXX)
@ -1,11 +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")
@ -1,10 +1,4 @@
aux_source_directory(. SRC_LIST)
@ -4,8 +4,6 @@ cmake_policy(SET CMP0020 NEW)
cmake_policy(SET CMP0043 OLD)
set(EXECUTABLE secp256k1)