Skip to content

Commit

Permalink
Update recipes/imguizmo/all/conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
franramirez688 authored Apr 11, 2024
1 parent 16f7a00 commit 9f43b4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/imguizmo/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def generate(self):

def build(self):
if Version(self.dependencies["imgui"].ref.version) >= "1.89.4":
# Related to a breaking change: https://github.com/ocornut/imgui/blob/master/docs/CHANGELOG.txt#L912
# Redirection: ImDrawList::AddBezierCurve() -> use ImDrawList::AddBezierCubic()
replace_in_file(self, os.path.join(self.source_folder, "GraphEditor.cpp"),
"AddBezierCurve", "AddBezierCubic")
cmake = CMake(self)
Expand Down

0 comments on commit 9f43b4b

Please sign in to comment.