Fixed Windows compile
This commit is contained in:
parent
0d72cc5528
commit
d4359bdbd9
2 changed files with 889 additions and 1 deletions
|
@ -206,9 +206,21 @@ if (WITH_RANDOMX)
|
|||
src/crypto/defyx/sha256.c
|
||||
src/crypto/defyx/sha256.h
|
||||
src/crypto/defyx/sysendian.h
|
||||
src/crypto/defyx/yescrypt-best.c
|
||||
src/crypto/defyx/yescrypt.h
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
set(SOURCES_CRYPTO
|
||||
"${SOURCES_CRYPTO}"
|
||||
src/crypto/defyx/yescrypt-def.c
|
||||
)
|
||||
else()
|
||||
set(SOURCES_CRYPTO
|
||||
"${SOURCES_CRYPTO}"
|
||||
src/crypto/defyx/yescrypt-best.c
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT ARCH_ID)
|
||||
set(ARCH_ID ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue