Include Allegro flags in PLATFORM_LIBS when the shared version is used

This commit is contained in:
David Capello 2015-07-13 13:02:34 -03:00
parent e4138fdf69
commit 7281ef1467

View File

@ -246,8 +246,11 @@ set(SIMPLEINI_LIBRARY simpleini)
include_directories(${SIMPLEINI_DIR})
######################################################################
# Allegro 4 backend
# Platform specific stuff
set(PLATFORM_LIBS)
# Allegro 4 backend
if(USE_ALLEG4_BACKEND)
if(USE_SHARED_ALLEGRO4)
# Find the shared Allegro 4 library
@ -279,11 +282,6 @@ if(USE_ALLEG4_BACKEND)
endif()
endif()
######################################################################
# Platform specific stuff
set(PLATFORM_LIBS)
# -- Unix --
if(UNIX AND NOT APPLE AND NOT BEOS)