[iOS] Fixed linker command line in Graphics/CMakeLists.txt

This commit is contained in:
Laurent Gomila 2013-08-30 15:52:51 +02:00 committed by Jonathan De Wachter
parent ca29498653
commit cac645076f

View File

@ -126,8 +126,8 @@ endif()
if(IOS)
find_package(JPEG REQUIRED)
find_package(Freetype REQUIRED)
set(GRAPHICS_EXT_INCLUDE_PATHS ${FREETYPE_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR})
set(GRAPHICS_EXT_LIBS -framework OpenGLES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY})
set(GRAPHICS_EXT_INCLUDE_PATHS ${FREETYPE_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR})
set(GRAPHICS_EXT_LIBS "-framework OpenGLES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY}")
endif()
# add include paths of external libraries