Fix for MSYS/MINGW

This commit is contained in:
SChernykh 2018-09-24 19:31:53 +02:00
parent f4a867b70f
commit 201be4d31b
2 changed files with 11 additions and 0 deletions

View file

@ -13,6 +13,9 @@ if (WITH_ASM AND NOT XMRIG_ARM AND CMAKE_SIZEOF_VOID_P EQUAL 8)
add_library(${XMRIG_ASM_LIBRARY} STATIC
"src/crypto/asm/cnv2_main_loop.S"
)
if (MSYS OR MINGW)
add_definitions(/DXMRIG_WINDOWS)
endif()
endif()
set(XMRIG_ASM_SOURCES src/crypto/Asm.h src/crypto/Asm.cpp)