You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
551 B
24 lines
551 B
cmake_policy(SET CMP0015 NEW)
|
|
set(CMAKE_AUTOMOC OFF)
|
|
|
|
aux_source_directory(. SRC_LIST)
|
|
|
|
include_directories(${LEVELDB_INCLUDE_DIRS})
|
|
include_directories(..)
|
|
|
|
set(EXECUTABLE exp)
|
|
|
|
add_executable(${EXECUTABLE} ${SRC_LIST})
|
|
|
|
target_link_libraries(${EXECUTABLE} ${LEVELDB_LIBRARIES})
|
|
|
|
if (MINIUPNPC_FOUND)
|
|
target_link_libraries(${EXECUTABLE} ${MINIUPNPC_LIBRARIES})
|
|
endif()
|
|
|
|
target_link_libraries(${EXECUTABLE} ethereum)
|
|
target_link_libraries(${EXECUTABLE} p2p)
|
|
target_link_libraries(${EXECUTABLE} gmp)
|
|
|
|
install( TARGETS ${EXECUTABLE} DESTINATION bin)
|
|
|
|
|