mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 17:32:47 -05:00
Simplify build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user