From e5f83f094dd658163150ea2a41c5d4a67f21019c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Nov 2013 23:38:47 +0300 Subject: fix SDL2 usage with external sdl2gfx. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index ec6622a88..fc1b6a9c9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -155,6 +155,9 @@ manaplus_SOURCES += sdl2gfx/SDL2_framerate.c \ sdl2gfx/SDL2_framerate.h \ sdl2gfx/SDL2_rotozoom.c \ sdl2gfx/SDL2_rotozoom.h +else +dyecmd_CXXFLAGS += -DUSE_SDL2 +manaplus_CXXFLAGS += -DUSE_SDL2 endif endif -- cgit v1.2.3-70-g09d2