summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9c0fa72)
OpenCV header files were triggering a lot of warnings because of the
strict compiler flags set for the project.
Instead of disabling the warnings treat the OpenCV headers as system
dependencies, this way the compiler will ignore warnings on them but
will still apply the warnings to the project code.
LDFLAGS += -Qunused-arguments
endif
LDFLAGS += -Qunused-arguments
endif
-CXXFLAGS += $(shell pkg-config --cflags opencv4)
+CXXFLAGS += $(shell pkg-config --cflags opencv4 | sed -e 's/-I/-isystem/g')
LDLIBS += $(shell pkg-config --libs opencv4)
LINK.o = $(LINK.cpp)
LDLIBS += $(shell pkg-config --libs opencv4)
LINK.o = $(LINK.cpp)