Add missing -DUSE_SKIA_BACKEND and -DUSE_ALLEG4_BACKEND

This commit is contained in:
David Capello 2015-10-14 13:30:45 -03:00
parent 11401e9899
commit 72965b14d2

View File

@ -283,6 +283,8 @@ set(PLATFORM_LIBS)
# Allegro 4 backend
if(USE_ALLEG4_BACKEND)
add_definitions(-DUSE_ALLEG4_BACKEND)
if(USE_SHARED_ALLEGRO4)
# Find the shared Allegro 4 library
find_library(LIBALLEGRO4_LIBRARY alleg)
@ -313,6 +315,11 @@ if(USE_ALLEG4_BACKEND)
endif()
endif()
# Skia backend
if(USE_SKIA_BACKEND)
add_definitions(-DUSE_SKIA_BACKEND)
endif()
# -- Unix --
if(UNIX AND NOT APPLE AND NOT BEOS)