Removed dependency to libjpeg, stb_image_write now supports writing JPEG files

This commit is contained in:
Laurent Gomila 2017-09-08 09:38:51 +02:00 committed by Lukas Dürrenberger
parent 44944989e8
commit 2aa70def6f
26 changed files with 8 additions and 1986 deletions

View file

@ -311,10 +311,9 @@ if(SFML_STATIC_LIBRARIES)
# find libraries
find_sfml_dependency(FREETYPE_LIBRARY "FreeType" freetype)
find_sfml_dependency(JPEG_LIBRARY "libjpeg" jpeg)
# update the list
set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY})
set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY})
set(SFML_DEPENDENCIES ${SFML_GRAPHICS_DEPENDENCIES} ${SFML_DEPENDENCIES})
endif()