Skip to content

Commit fb65780

Browse files
Used hyphenated option name, enable-tracy instead of enable_tracy
1 parent 4672afd commit fb65780

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project('SU2', 'c', 'cpp',
77
'warning_level=0',
88
'c_std=c99',
99
'cpp_std=c++17',
10-
'enable_tracy=false'])
10+
'enable-tracy=false'])
1111

1212
fsmod = import('fs')
1313
if not fsmod.exists('su2preconfig.timestamp')
@@ -114,7 +114,7 @@ if get_option('enable-autodiff') and not omp
114114
endif
115115

116116
# Add Tracy dependency if enabled
117-
if get_option('enable_tracy')
117+
if get_option('enable-tracy')
118118
tracy_dep = dependency('tracy', static: true)
119119
su2_deps += tracy_dep
120120
su2_cpp_args += '-DHAVE_TRACY'
@@ -391,7 +391,7 @@ message('''---------------------------------------------------------------------
391391
'''.format(get_option('prefix')+'/bin', meson.project_source_root(), get_option('enable-tecio'), get_option('enable-cgns'),
392392
get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'),
393393
get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), get_option('enable-coolprop'),
394-
get_option('enable-mlpcpp'), get_option('enable_tracy'), meson.project_build_root().startswith(meson.project_source_root()) ? meson.project_build_root().split('/')[-1] : meson.project_build_root()))
394+
get_option('enable-mlpcpp'), get_option('enable-tracy'), meson.project_build_root().startswith(meson.project_source_root()) ? meson.project_build_root().split('/')[-1] : meson.project_build_root()))
395395

396396
if get_option('enable-mpp')
397397
if get_option('install-mpp')

meson_options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ option('opdi-shared-read-opt', type : 'boolean', value : true, description : 'Op
2929
option('librom_root', type : 'string', value : '', description: 'libROM base directory')
3030
option('enable-librom', type : 'boolean', value : false, description: 'enable LLNL libROM support')
3131
option('static-cgns-deps', type : 'boolean', value : false, description: 'prefer static or dynamic (default) libraries for CGNS dependencies')
32-
option('enable_tracy', type: 'boolean', value: false, description: 'Enable Tracy profiling support')
32+
option('enable-tracy', type: 'boolean', value: false, description: 'Enable Tracy profiling support')

0 commit comments

Comments
 (0)