Skip to content

Commit

Permalink
Removed dependency to libjpeg, stb_image_write now supports writing J…
Browse files Browse the repository at this point in the history
…PEG files
  • Loading branch information
LaurentGomila authored and eXpl0it3r committed Sep 28, 2017
1 parent 4494498 commit 2aa70de
Show file tree
Hide file tree
Showing 26 changed files with 8 additions and 1,986 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ elseif(SFML_OS_IOS)
# since the iOS libraries are built as static, we must install the SFML dependencies
# too so that the end user can easily link them to its final application
if(SFML_BUILD_GRAPHICS)
install(FILES extlibs/libs-ios/libfreetype.a extlibs/libs-ios/libjpeg.a DESTINATION lib)
install(FILES extlibs/libs-ios/libfreetype.a DESTINATION lib)
endif()
endif()

Expand Down
3 changes: 1 addition & 2 deletions cmake/Modules/FindSFML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
6 changes: 0 additions & 6 deletions extlibs/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libfreetype.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := jpeg
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libjpeg.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := openal
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libopenal.so
Expand Down
45 changes: 0 additions & 45 deletions extlibs/headers/jpeg/jconfig.h

This file was deleted.

304 changes: 0 additions & 304 deletions extlibs/headers/jpeg/jerror.h

This file was deleted.

Loading

0 comments on commit 2aa70de

Please sign in to comment.