progminer zano miner fork https://github.com/hyle-team/progminer
This commit is contained in:
20
zano/libethcore/CMakeLists.txt
Normal file
20
zano/libethcore/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
set(SOURCES
|
||||
EthashAux.h EthashAux.cpp
|
||||
Farm.cpp Farm.h
|
||||
Miner.h Miner.cpp
|
||||
)
|
||||
|
||||
include_directories(BEFORE ..)
|
||||
|
||||
add_library(ethcore ${SOURCES})
|
||||
target_link_libraries(ethcore PUBLIC devcore ethash PRIVATE hwmon)
|
||||
|
||||
if(ETHASHCL)
|
||||
target_link_libraries(ethcore PRIVATE ethash-cl)
|
||||
endif()
|
||||
if(ETHASHCUDA)
|
||||
target_link_libraries(ethcore PUBLIC ethash-cuda)
|
||||
endif()
|
||||
if(ETHASHCPU)
|
||||
target_link_libraries(ethcore PUBLIC ethash-cpu)
|
||||
endif()
|
||||
Reference in New Issue
Block a user