build: add Tracy with the other third-party projects

The include sat next to add_subdirectory(core/libs), which other open pull requests rewrite. Tracy is now added after FFmpeg, still at the top-level scope, so the client is built with the same flags.
This commit is contained in:
Yunus Shaikh committed 2026-10-12 12:55:40 -07:00
1 parent 28ca53dc89
commit 8371431ef1
1 file changed
+4 -3
+4 -3
View File
@@ -147,6 +147,10 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_options(ffmpeg INTERFACE LINKER:--exclude-libs,ALL)
endif()
if(APS5_ENABLE_TRACY)
include(cmake/Tracy.cmake)
endif()
set(FT_DISABLE_ZLIB ON CACHE BOOL "" FORCE)
set(FT_DISABLE_BZIP2 ON CACHE BOOL "" FORCE)
set(FT_DISABLE_PNG ON CACHE BOOL "" FORCE)
@@ -166,8 +170,5 @@ endif()
add_subdirectory(core/shader/recompiler)
add_subdirectory(core/Decoder/Jpeg)
add_subdirectory(core/Decoder/Png)
if(APS5_ENABLE_TRACY)
include(cmake/Tracy.cmake)
endif()
add_subdirectory(core/libs)
add_subdirectory(core/relinker)