Simplify build
This commit is contained in:
parent
701d8f093a
commit
d2ccc0473c
1 changed files with 1 additions and 12 deletions
|
@ -54,20 +54,9 @@ if (WITH_RANDOMX)
|
||||||
src/crypto/defyx/sha256.h
|
src/crypto/defyx/sha256.h
|
||||||
src/crypto/defyx/sysendian.h
|
src/crypto/defyx/sysendian.h
|
||||||
src/crypto/defyx/yescrypt.h
|
src/crypto/defyx/yescrypt.h
|
||||||
|
src/crypto/defyx/yescrypt-best.c
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WIN32)
|
|
||||||
set(SOURCES_CRYPTO
|
|
||||||
"${SOURCES_CRYPTO}"
|
|
||||||
src/crypto/defyx/yescrypt-best.c
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
set(SOURCES_CRYPTO
|
|
||||||
"${SOURCES_CRYPTO}"
|
|
||||||
src/crypto/defyx/yescrypt-best.c
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (CMAKE_C_COMPILER_ID MATCHES MSVC)
|
if (CMAKE_C_COMPILER_ID MATCHES MSVC)
|
||||||
enable_language(ASM_MASM)
|
enable_language(ASM_MASM)
|
||||||
list(APPEND SOURCES_CRYPTO
|
list(APPEND SOURCES_CRYPTO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue