Fix underlinking with USE_SHARED_ALLEGRO4=ON

This commit is contained in:
hasufell 2014-11-02 16:58:33 +01:00
parent b202c6d0f4
commit 169edeaa69
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -58,6 +58,7 @@ if(USE_SHARED_ALLEGRO4)
OUTPUT_VARIABLE LIBALLEGRO4_LINK_FLAGS
OUTPUT_STRIP_TRAILING_WHITESPACE)
set(LIBALLEGRO4_LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS} ${PLATFORM_LIBS})
include_directories(${LIBALLEGRO4_INCLUDE_DIR})
else()
add_definitions(-DALLEGRO4_WITH_RESIZE_PATCH)