mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-20 23:01:51 +00:00
9 lines
233 B
Text
9 lines
233 B
Text
|
option(LIBCPUID_DRIVER_DEBUG "Debug kernel module" OFF)
|
||
|
if(LIBCPUID_DRIVER_DEBUG)
|
||
|
add_definitions(-DLIBCPUID_DRIVER_DEBUG)
|
||
|
endif(LIBCPUID_DRIVER_DEBUG)
|
||
|
|
||
|
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||
|
add_subdirectory(linux)
|
||
|
endif()
|