mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 13:59:01 +08:00
f571b30b86
* [cpuid] Fix linkage * Fix Windows build * version
24 lines
641 B
Diff
24 lines
641 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 08e78d4..9e84c7f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -26,5 +26,3 @@ endif(UNIX)
|
|
|
|
# Include subdirectories
|
|
add_subdirectory(libcpuid)
|
|
-add_subdirectory(cpuid_tool)
|
|
-add_subdirectory(tests)
|
|
diff --git a/libcpuid/CMakeLists.txt b/libcpuid/CMakeLists.txt
|
|
index 7031650..9355436 100644
|
|
--- a/libcpuid/CMakeLists.txt
|
|
+++ b/libcpuid/CMakeLists.txt
|
|
@@ -12,7 +12,7 @@ if("${MSVC_CXX_ARCHITECTURE_ID}" MATCHES "x64")
|
|
list(APPEND cpuid_sources masm-x64.asm)
|
|
endif()
|
|
|
|
-if(UNIX)
|
|
+if(0)
|
|
add_library(cpuid SHARED ${cpuid_sources})
|
|
else()
|
|
add_library(cpuid ${cpuid_sources})
|