Skip to content

Commit

Permalink
BUILD: Don't even pull in flashfont.cpp/.h at all without cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Nov 1, 2020
1 parent ce8c2ac commit 3a42e2c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/graphics/aurora/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ src_graphics_libgraphics_la_SOURCES += \
src/graphics/aurora/animationchannel.h \
src/graphics/aurora/line.h \
src/graphics/aurora/skeletalanimation.h \
src/graphics/aurora/flashfont.h \
$(EMPTY)

src_graphics_libgraphics_la_SOURCES += \
Expand Down Expand Up @@ -105,5 +104,15 @@ src_graphics_libgraphics_la_SOURCES += \
src/graphics/aurora/animationchannel.cpp \
src/graphics/aurora/line.cpp \
src/graphics/aurora/skeletalanimation.cpp \
$(EMPTY)

flashfont_source = \
src/graphics/aurora/flashfont.h \
src/graphics/aurora/flashfont.cpp \
$(EMPTY)

if ENABLE_CAIRO
src_graphics_libgraphics_la_SOURCES += $(flashfont_source)
else
EXTRA_DIST += $(flashfont_source)
endif

0 comments on commit 3a42e2c

Please sign in to comment.