mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
opencv: fix CFLAGS order and add plugins base libs includes to CXXFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=702297
This commit is contained in:
parent
90b51562ab
commit
67e71d7931
1 changed files with 3 additions and 3 deletions
|
@ -25,15 +25,15 @@ libgstopencv_la_SOURCES = gstopencv.c \
|
|||
motioncells_wrapper.cpp \
|
||||
MotionCells.cpp
|
||||
|
||||
libgstopencv_la_CXXFLAGS = $(GST_CXXFLAGS) $(OPENCV_CFLAGS)
|
||||
libgstopencv_la_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(OPENCV_CFLAGS)
|
||||
|
||||
# flags used to compile this facedetect
|
||||
# add other _CFLAGS and _LIBS as needed
|
||||
#
|
||||
# override CV_INLINE: GLib will take care of defining 'inline' sufficiently and
|
||||
# OpenCV's define isn't good enough to avoid 'unused' gcc warnings (at v2.1.0)
|
||||
libgstopencv_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(OPENCV_CFLAGS) \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||
libgstopencv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||
$(GST_CFLAGS) $(OPENCV_CFLAGS) \
|
||||
-DGST_HAAR_CASCADES_DIR=\"$(pkgdatadir)/@GST_API_VERSION@/opencv_haarcascades\" \
|
||||
-DCV_INLINE="static inline" \
|
||||
-DCV_NO_BACKWARD_COMPATIBILITY
|
||||
|
|
Loading…
Reference in a new issue