1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
libcpuid/cpuid_tool/CMakeLists.txt

17 lines
373 B
Text
Raw Normal View History

2020-02-06 06:02:51 +00:00
add_executable(cpuid_tool cpuid_tool.c)
2020-05-21 16:43:34 +00:00
target_link_libraries(cpuid_tool cpuid)
if(WIN32)
install(
TARGETS cpuid_tool
CONFIGURATIONS Debug
RUNTIME DESTINATION bin/Debug)
install(
TARGETS cpuid_tool
CONFIGURATIONS Release
RUNTIME DESTINATION bin/Release)
else()
install(TARGETS cpuid_tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()