@@ -7,7 +7,7 @@ project('SU2', 'c', 'cpp',
77 ' warning_level=0' ,
88 ' c_std=c99' ,
99 ' cpp_std=c++17' ,
10- ' tracy_enable =false' ])
10+ ' enable_tracy =false' ])
1111
1212fsmod = import (' fs' )
1313if not fsmod.exists(' su2preconfig.timestamp' )
@@ -114,10 +114,10 @@ if get_option('enable-autodiff') and not omp
114114endif
115115
116116# Add Tracy dependency if enabled
117- if get_option (' tracy_enable ' )
117+ if get_option (' enable_tracy ' )
118118 tracy_dep = dependency (' tracy' , static : true )
119119 su2_deps += tracy_dep
120- su2_cpp_args += ' -DTRACY_ENABLE '
120+ su2_cpp_args += ' -DHAVE_TRACY '
121121
122122 # Add build type check
123123 if get_option (' buildtype' ) != ' debugoptimized'
@@ -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 (' tracy_enable ' ), 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
396396if get_option (' enable-mpp' )
397397 if get_option (' install-mpp' )
0 commit comments