Skip to content

Commit

Permalink
proper fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Feb 14, 2023
1 parent a5960ad commit 9eccd37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else ifeq ($(this_svgren_backend),cairo)
this_ldlibs += `pkg-config --libs cairo`
endif

this_ldlibs += -lsvgdom -lutki -lstdc++ -lm
this_ldlibs += -lsvgdom -lstdc++ -lm

this_cxxflags += $(addprefix -I,$(CONAN_INCLUDE_DIRS))
this_cxxflags_test += $(addprefix -I,$(CONAN_INCLUDE_DIRS))
Expand Down
2 changes: 1 addition & 1 deletion src/svgren/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ void renderer::set_gradient(const std::string& id){
}

void default_visit(const svgdom::element&)override{
this->r.canvas.set_source(r4::vector4<real>{0});
this->r.canvas.set_source(r4::vector4<real>(0));
}
} visitor(*this, *ss);

Expand Down

0 comments on commit 9eccd37

Please sign in to comment.