1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-03 11:01:30 +00:00

CMake: harmonizes options

This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-07-10 20:56:38 +02:00
commit 52efefbb7d
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
5 changed files with 58 additions and 40 deletions

View file

@ -1,4 +1,6 @@
option(LIBCPUID_DRIVER_DEBUG "Debug kernel module" OFF)
# Options
option(LIBCPUID_DRIVER_DEBUG "Debug kernel driver" OFF)
if(LIBCPUID_DRIVER_DEBUG)
add_definitions(-DLIBCPUID_DRIVER_DEBUG)
endif(LIBCPUID_DRIVER_DEBUG)