mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
4e314d6f80
dynlink_* was introduced since CUDA Toolkit 9.x but it's deprecated from 10.0. Instead of using #ifdef hack, shipping nvidia headers of NVIDA CODEC SDK can make build/code simple
26 lines
476 B
Makefile
26 lines
476 B
Makefile
plugin_LTLIBRARIES = libgstnvdec.la
|
|
|
|
libgstnvdec_la_SOURCES = \
|
|
gstnvdec.c \
|
|
plugin.c
|
|
|
|
noinst_HEADERS = \
|
|
gstnvdec.h
|
|
|
|
libgstnvdec_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_GL_CFLAGS) \
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
$(GST_VIDEO_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(CUDA_CFLAGS)
|
|
|
|
libgstnvdec_la_LIBADD = \
|
|
$(GST_GL_LIBS) \
|
|
$(GST_PBUTILS_LIBS) \
|
|
$(GST_VIDEO_LIBS) \
|
|
$(GST_LIBS)
|
|
|
|
libgstnvdec_la_LIBADD += $(CUDA_LIBS) -lnvcuvid
|
|
|
|
libgstnvdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|