Skip to content

Commit

Permalink
Update stb image headers in third_party/
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Jan 3, 2025
1 parent 3a7652c commit 3fb8c44
Show file tree
Hide file tree
Showing 5 changed files with 10,783 additions and 2,813 deletions.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ if(WITH_STB_IMAGE)
if(NOT HAVE_STB)
message("--> Using STB from third_party/ instead")
target_include_directories(timg PRIVATE ${CMAKE_SOURCE_DIR}/third_party)
set(STB_RESIZE_VERSION2 true) # distributing resize2 in third_party/
else()
CHECK_INCLUDE_FILE_CXX(stb/stb_image_resize2.h STB_RESIZE_VERSION2)
endif()
CHECK_INCLUDE_FILE_CXX(stb/stb_image_resize2.h STB_RESIZE_VERSION2)
if(STB_RESIZE_VERSION2)
target_compile_definitions(timg PUBLIC STB_RESIZE_VERSION2)
endif()
Expand Down
2 changes: 1 addition & 1 deletion third_party/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Header-only third_party image decoding implementations

* STB: Public domain header-only image loading and manipulation. Find
Full repo on https://github.com/nothings/stb
This is from git submit 5736b15f7ea0ffb08dd38af21067c314d6a3aae9
This is from git submit 5c205738c191bcb0abc65c4febfa9bd25ff35234
* QOI: MIT licensed header-only implementation of https://qoiformat.org/
Full repo on https://github.com/phoboslab/qoi
This is from git submit f65b365318df43cd0d7de8b51473dabcbefc04a6
Loading

0 comments on commit 3fb8c44

Please sign in to comment.