mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
More fixes
This commit is contained in:
parent
4dbf2dcc84
commit
5586618c6e
22
Makefile
22
Makefile
@ -35,6 +35,11 @@ LIBPLACEBO ?= 1
|
|||||||
CONFIG := #-DDEBUG # remove # to enable debug output
|
CONFIG := #-DDEBUG # remove # to enable debug output
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------- no more config needed past this point--------------------------------
|
||||||
|
|
||||||
|
# sanitize selections --------
|
||||||
|
ifneq "$(MAKECMDGOALS)" "clean"
|
||||||
|
|
||||||
ifeq ($(VAAPI),0)
|
ifeq ($(VAAPI),0)
|
||||||
ifeq ($(CUVID),0)
|
ifeq ($(CUVID),0)
|
||||||
ifeq ($(DRM),0)
|
ifeq ($(DRM),0)
|
||||||
@ -45,12 +50,24 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(CUVID),1)
|
||||||
|
ifeq ($(DRM),1)
|
||||||
|
$(error Missmatch in Plugin selection)
|
||||||
|
exit 1;
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(CUVID),1)
|
||||||
|
ifeq ($(VAAPI),1)
|
||||||
|
$(error Missmatch in Plugin selection)
|
||||||
|
exit 1;
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
#--------------------------
|
||||||
|
|
||||||
|
|
||||||
#--------------------- no more config needed past this point--------------------------------
|
|
||||||
PLUGIN = softhdcuvid
|
PLUGIN = softhdcuvid
|
||||||
|
|
||||||
# support OPENGLOSD always needed
|
# support OPENGLOSD always needed
|
||||||
@ -262,7 +279,6 @@ LIBS += -lrt $(shell pkg-config --libs x11 x11-xcb xcb xcb-icccm)
|
|||||||
_CFLAGS += -I./opengl -I./
|
_CFLAGS += -I./opengl -I./
|
||||||
|
|
||||||
LIBS += -L/usr/lib64
|
LIBS += -L/usr/lib64
|
||||||
LIBS += -L/usr/local/cuda/lib64
|
|
||||||
|
|
||||||
ifeq ($(LIBPLACEBO),1)
|
ifeq ($(LIBPLACEBO),1)
|
||||||
LIBS += -lplacebo
|
LIBS += -lplacebo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user