Fix libcpuid support for MSVC.

This commit is contained in:
XMRig 2017-06-13 11:17:40 +03:00
parent de2c351a66
commit 827e611911

View file

@ -26,7 +26,13 @@ set(SOURCES
libcpuid_util.c
)
if (CMAKE_CL_64)
enable_language(ASM_MASM)
set(SOURCES_ASM masm-x64.asm)
endif()
add_library(cpuid STATIC
${HEADERS}
${SOURCES}
${SOURCES_ASM}
)