diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-09 23:38:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-09 23:38:47 +0300 |
commit | e5f83f094dd658163150ea2a41c5d4a67f21019c (patch) | |
tree | f93141509f925bd4114aab4865d3ca675ec967d7 /src/Makefile.am | |
parent | 97c65df01490049542111ed3566798c31fb36ac4 (diff) | |
download | manaverse-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.gz manaverse-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.bz2 manaverse-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.xz manaverse-e5f83f094dd658163150ea2a41c5d4a67f21019c.zip |
fix SDL2 usage with external sdl2gfx.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
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 |