aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-31 21:40:28 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-31 22:04:48 +0000
commitbd3504c58025499b5fd0f845d7af19bbcca315b9 (patch)
tree73ad091ab607b44f140f2a5462f9ab67afc7af94 /Makefile
parentc46924345fc0ef7574e864127c164d72c1fd3011 (diff)
downloadimv-bd3504c58025499b5fd0f845d7af19bbcca315b9.tar.gz
Add libjpeg-turbo backend
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa4dcbc..18d07dd 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,11 @@ ifeq ($(BACKEND_LIBPNG),yes)
override LIBS += -lpng
endif
+ifeq ($(BACKEND_LIBJPEG),yes)
+ override CPPFLAGS += -DIMV_BACKEND_LIBJPEG
+ override LIBS += -lturbojpeg
+endif
+
ifeq ($(BACKEND_LIBRSVG),yes)
override CPPFLAGS += -DIMV_BACKEND_LIBRSVG $(shell pkg-config --cflags librsvg-2.0)
override LIBS += $(shell pkg-config --libs librsvg-2.0)