Fixed build.

This commit is contained in:
XMRig 2022-09-19 05:45:16 +07:00
parent 6f3187049a
commit 6f0291bfde
No known key found for this signature in database
GPG Key ID: 446A53638BE94409

View File

@ -76,7 +76,7 @@ if (WITH_RANDOMX)
endif()
if (WITH_AVX2)
list(APPEND SOURCES_CRYPTO src/crypto/randomx/blake2/avx2/blake2b_avx2.c)
list(APPEND SOURCES src/crypto/randomx/blake2/avx2/blake2b_avx2.c)
if (CMAKE_C_COMPILER_ID MATCHES GNU OR CMAKE_C_COMPILER_ID MATCHES Clang)
set_source_files_properties(src/crypto/randomx/blake2/avx2/blake2b_avx2.c PROPERTIES COMPILE_FLAGS "-Ofast -mavx2")