mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-03 11:01:30 +00:00
CMake: fix build on Windows
This commit is contained in:
parent
c129bc23a4
commit
7c7fd3b565
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
add_executable(convert_instlatx64 convert_instlatx64.c)
|
||||
target_link_libraries(convert_instlatx64 PUBLIC cpuid)
|
||||
if(UNIX)
|
||||
add_executable(convert_instlatx64 convert_instlatx64.c)
|
||||
target_link_libraries(convert_instlatx64 PUBLIC cpuid)
|
||||
endif(UNIX)
|
||||
|
||||
add_custom_target(test DEPENDS test-fast)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue