diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index eff7ba47f..9df9091a4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -92,6 +92,10 @@ if USE_OPENGL dyecmd_CXXFLAGS += -DUSE_OPENGL manaplus_CXXFLAGS += -DUSE_OPENGL endif +if ENABLE_OPENGLERRORS +dyecmd_CXXFLAGS += -DOPENGLERRORS +manaplus_CXXFLAGS += -DOPENGLERRORS +endif if ENABLE_MEM_DEBUG dyecmd_CXXFLAGS += -DENABLE_MEM_DEBUG -DDEBUG_DUMP_LEAKS @@ -1979,6 +1983,9 @@ endif if USE_X11 manaplustests_CXXFLAGS += -DUSE_X11 endif +if ENABLE_OPENGLERRORS +manaplustests_CXXFLAGS += -DOPENGLERRORS +endif manaplustests_SOURCES = ${SRC} \ enums/render/mockdrawtype.h \ |