mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
add option to disable CPU plugin build
This commit is contained in:
parent
63775e325d
commit
2667b9cd63
@ -10,3 +10,4 @@ option('require-amd', type: 'boolean', value: 'false',
|
||||
description: 'Require AMD plugin')
|
||||
option('require-nvidia', type: 'boolean', value: 'false',
|
||||
description: 'Require NVIDIA plugin')
|
||||
option('plugins-cpu', type: 'boolean', value: 'true', description: 'Build CPU plugin')
|
||||
|
@ -64,8 +64,10 @@ if all_nvidia_linux_libs
|
||||
link_with : libtuxclocker)
|
||||
endif
|
||||
|
||||
shared_library('cpu', 'CPU.cpp', 'Utils.cpp',
|
||||
include_directories : [incdir, fplus_inc],
|
||||
install_dir : get_option('libdir') / 'tuxclocker' / 'plugins',
|
||||
install : true,
|
||||
link_with : libtuxclocker)
|
||||
if get_option('plugins-cpu')
|
||||
shared_library('cpu', 'CPU.cpp', 'Utils.cpp',
|
||||
include_directories : [incdir, fplus_inc],
|
||||
install_dir : get_option('libdir') / 'tuxclocker' / 'plugins',
|
||||
install : true,
|
||||
link_with : libtuxclocker)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user