remove old system nvml build option

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
pull/219/head
Stephan Lachnit 4 years ago committed by jackun
parent 23aa249fae
commit d956f60f86

@ -207,11 +207,5 @@ elif sizeof_ptr == 4
pre_args += '-DMANGOHUD_ARCH="32bit"'
endif
if get_option('use_system_nvml')
cpp_nvml_args = '-DUSE_SYSTEM_NVML'
else
cpp_nvml_args = []
endif
subdir('modules/ImGui')
subdir('src')

@ -1,6 +1,5 @@
option('glibcxx_asserts', type : 'boolean', value : false)
option('use_system_vulkan', type : 'feature', value : 'disabled', description: 'Use system vulkan headers instead of the provided ones')
option('use_system_nvml', type : 'boolean', value : false, description : 'Use system nvml headers instead of the provided ones')
option('mangohud_prefix', type : 'string', value : '', description: 'Add prefix to cross-compiled library, like "lib32-".')
option('append_libdir_mangohud', type : 'boolean', value : true, description: 'Append "mangohud" to libdir path or not.')
option('include_doc', type : 'boolean', value : true, description: 'Include the example config')

@ -52,6 +52,7 @@ if get_option('with_nvml') == 'system'
if not nvml_h_found
error('nvml.h was not found. Disable with \'-Dwith_nvml=disabled\' if gpu stats by NVML is not needed.')
endif
pre_args += '-DUSE_SYSTEM_NVML'
endif
if nvml_h_found
@ -119,7 +120,6 @@ vklayer_mesa_overlay = shared_library(
cpp_args : [
pre_args,
cpp_vis_args,
cpp_nvml_args,
vulkan_wsi_args
],
dependencies : [

Loading…
Cancel
Save