diff --git a/recipes/imguizmo/all/conanfile.py b/recipes/imguizmo/all/conanfile.py index eb5926749e5ed..6591de3a6b559 100644 --- a/recipes/imguizmo/all/conanfile.py +++ b/recipes/imguizmo/all/conanfile.py @@ -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)