Create verushash.cmake
This commit is contained in:
parent
28e81bd7c0
commit
21c0a9d3f1
1 changed files with 21 additions and 0 deletions
21
cmake/verushash.cmake
Normal file
21
cmake/verushash.cmake
Normal file
|
@ -0,0 +1,21 @@
|
|||
if (WITH_VERUSHASH)
|
||||
add_definitions(/DXMRIG_ALGO_VERUSHASH)
|
||||
set(GHOSTRIDER_LIBRARY verushash)
|
||||
|
||||
list(APPEND HEADERS_CRYPTO
|
||||
src/crypto/verus/haraka.h
|
||||
src/crypto/verus/haraka_portable.h
|
||||
src/crypto/verus/verus_hash.h
|
||||
)
|
||||
|
||||
list(APPEND SOURCES_CRYPTO
|
||||
src/crypto/verus/haraka.c
|
||||
src/crypto/verus/equi-stratum.c
|
||||
src/crypto/verus/haraka_portable.c
|
||||
src/crypto/verus/verus_hash.c
|
||||
)
|
||||
|
||||
else()
|
||||
remove_definitions(/DXMRIG_ALGO_VERUSHASH)
|
||||
set(VERUSHASH_LIBRARY "")
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue