Skip to content

Commit

Permalink
[tracy] Fix imgui search path for Linux build (microsoft#28643)
Browse files Browse the repository at this point in the history
* [tracy] Fix imgui search path for Linux build

* update port-version
  • Loading branch information
kachkov98 authored Jan 4, 2023
1 parent 1b0d763 commit fa32c6a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
13 changes: 13 additions & 0 deletions ports/tracy/003-fix-imgui-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/profiler/build/unix/build.mk b/profiler/build/unix/build.mk
index 24765f1a..dc2923c8 100644
--- a/profiler/build/unix/build.mk
+++ b/profiler/build/unix/build.mk
@@ -1,7 +1,7 @@
CFLAGS +=
CXXFLAGS := $(CFLAGS) -std=c++17
DEFINES += -DIMGUI_ENABLE_FREETYPE
-INCLUDES := $(shell pkg-config --cflags glfw3 freetype2 capstone) -I../../../imgui
+INCLUDES := -I../../../imgui $(shell pkg-config --cflags glfw3 freetype2 capstone)
LIBS := $(shell pkg-config --libs glfw3 freetype2 capstone) -lpthread -ldl

PROJECT := Tracy
1 change: 1 addition & 0 deletions ports/tracy/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ vcpkg_from_github(
PATCHES
001-fix-vcxproj-vcpkg.patch
002-fix-capstone-5.patch
003-fix-imgui-path.patch
)

vcpkg_cmake_configure(
Expand Down
1 change: 1 addition & 0 deletions ports/tracy/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "tracy",
"version-semver": "0.9.0",
"port-version": 1,
"description": "A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.",
"homepage": "https://github.com/wolfpld/tracy",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7650,7 +7650,7 @@
},
"tracy": {
"baseline": "0.9.0",
"port-version": 0
"port-version": 1
},
"transwarp": {
"baseline": "2.2.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/t-/tracy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ed78af871d0cb41933e62e1daf455ca02453139d",
"version-semver": "0.9.0",
"port-version": 1
},
{
"git-tree": "d7c6276fc6867dd978b2e49047027da3466d7ef3",
"version-semver": "0.9.0",
Expand Down

0 comments on commit fa32c6a

Please sign in to comment.