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})