mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fix libcpuid support for MSVC.
This commit is contained in:
parent
de2c351a66
commit
827e611911
1 changed files with 6 additions and 0 deletions
6
src/3rdparty/libcpuid/CMakeLists.txt
vendored
6
src/3rdparty/libcpuid/CMakeLists.txt
vendored
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue