1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fixed build

This commit is contained in:
Tyler Mayoff 2022-08-12 15:00:03 -04:00
parent 906776e5bc
commit 8d82bd4286
No known key found for this signature in database
GPG Key ID: 9318A9286352802A
4 changed files with 7 additions and 3 deletions

4
.gitignore vendored
View File

@ -40,3 +40,7 @@ extra/vswhere.exe
extra/tracy-build
/.cache
compile_commands.json
subprojects/*
!subprojects/imgui.wrap
!subprojects/zstd.wrap

View File

@ -102,7 +102,7 @@ endif
threads_dep = dependency('threads')
imgui = dependency('imgui')
zstd = dependency('zstd')
zstd = dependency('libzstd')
includes = [
'public/tracy/TracyC.h',

View File

@ -13,7 +13,7 @@ profiler_sources = files(
'src/imgui/imgui_impl_opengl3.cpp')
glfw = dependency('glfw3')
deps = [glfw, threads_dep, server_dep, tracy_dep, zstd_dep]
deps = [glfw, threads_dep, server_dep, tracy_dep, zstd]
if get_option('tracy_fileselector') == 'gtk'
profiler_sources += files('../nfd/nfd_gtk.cpp')

View File

@ -52,6 +52,6 @@ server_sources = files(
capstone = dependency('capstone')
deps = [imgui_dep, capstone, tracy_dep]
deps = [imgui, capstone, tracy_dep]
server_lib = static_library('tracy_server', server_sources, dependencies: deps, cpp_args: '-UTRACY_ENABLE')
server_dep = declare_dependency(dependencies: deps, link_with: server_lib)