Try to compile libpng before freetype (because freetype depends on libpng)

This commit is contained in:
David Capello 2016-04-04 12:24:40 -03:00
parent f25c030a20
commit d94b859777

View File

@ -84,6 +84,10 @@ if(NOT USE_SHARED_FREETYPE)
endif()
add_subdirectory(freetype2)
if(NOT USE_SHARED_LIBPNG)
add_dependencies(freetype png_static)
endif()
endif()
add_subdirectory(simpleini)