From d8e7f47c19fbfd598ba5da6c31369e6ff1aefc8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Aug 2013 15:32:45 +0300 Subject: fix includes dirs if build was run not from top directory. --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index a886be801..8606995be 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,13 +30,13 @@ manaplus_CXXFLAGS += -DUSE_MUMBLE endif if USE_SDL2 -manaplus_CXXFLAGS += -DUSE_SDL2 +manaplus_CXXFLAGS += -I$(srcdir)/sdl2gfx -DUSE_SDL2 manaplus_SOURCES += sdl2gfx/SDL_framerate.c \ sdl2gfx/SDL_framerate.h endif if USE_INTERNALGUICHAN -manaplus_CXXFLAGS += -DUSE_INTERNALGUICHAN +manaplus_CXXFLAGS += -I$(srcdir)/guichan/include -DUSE_INTERNALGUICHAN manaplus_SOURCES += guichan/include/guichan/actionevent.hpp \ guichan/include/guichan/actionlistener.hpp \ guichan/include/guichan/basiccontainer.hpp \ @@ -902,4 +902,4 @@ EXTRA_DIST = CMakeLists.txt \ SDLMain.m # set the include path found by configure -INCLUDES = $(all_includes) +AM_CPPFLAGS = $(all_includes) -- cgit v1.2.3-70-g09d2