sha256csm init
This commit is contained in:
parent
4c57b60e59
commit
90a826cbe4
17 changed files with 166 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
if (WITH_GHOSTRIDER)
|
||||
if (WITH_GHOSTRIDER OR WITH_SHA256CSM) # WITH_SHA256CSM for sph_sha2
|
||||
add_definitions(/DXMRIG_ALGO_GHOSTRIDER)
|
||||
add_subdirectory(src/crypto/ghostrider)
|
||||
set(GHOSTRIDER_LIBRARY ghostrider)
|
||||
|
|
8
cmake/sha256.cmake
Normal file
8
cmake/sha256.cmake
Normal file
|
@ -0,0 +1,8 @@
|
|||
if (WITH_SHA256CSM)
|
||||
add_definitions(/DXMRIG_ALGO_SHA256CSM)
|
||||
# add_subdirectory(src/crypto/sha256)
|
||||
# set(SHA256_LIBRARY sha256)
|
||||
else()
|
||||
remove_definitions(/DXMRIG_ALGO_SHA256CSM)
|
||||
# set(SHA256_LIBRARY "")
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue