mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
meson: Add libunwind option
The CMake name was a bit weird, so I changed it to the standard format for meson.
This commit is contained in:
@@ -97,6 +97,11 @@ if get_option('tracy_no_crash_handler')
|
||||
tracy_common_args += ['-DTRACY_NO_CRASH_HANDLER']
|
||||
endif
|
||||
|
||||
if get_option('tracy_libunwind_backtrace')
|
||||
tracy_common_args += ['-DTRACE_CLIENT_LIBUNWIND_BACKTRACE']
|
||||
tracy_public_deps += dependency('libunwind')
|
||||
endif
|
||||
|
||||
tracy_shared_libs = get_option('default_library') == 'shared'
|
||||
if not tracy_shared_libs and get_option('tracy_shared_libs')
|
||||
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
|
||||
|
||||
Reference in New Issue
Block a user