mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-23 23:58:53 +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
|
libcpuid_util.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (CMAKE_CL_64)
|
||||||
|
enable_language(ASM_MASM)
|
||||||
|
set(SOURCES_ASM masm-x64.asm)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(cpuid STATIC
|
add_library(cpuid STATIC
|
||||||
${HEADERS}
|
${HEADERS}
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
|
${SOURCES_ASM}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue