File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 11# TheSuperHackers @bobtista 02/11/2025
22# STB single-file public domain libraries for image encoding
33# https://github.com/nothings/stb
4+ # Managed via vcpkg - version pinned by builtin-baseline in vcpkg.json
45
5- FetchContent_Declare(
6- stb
7- GIT_REPOSITORY https://github.com/nothings/stb.git
8- GIT_TAG master # Could pin to specific commit for stability
9- GIT_SHALLOW TRUE
10- )
11-
12- FetchContent_MakeAvailable(stb)
13-
14- # Create interface library for stb headers
15- add_library (stb INTERFACE )
16- target_include_directories (stb INTERFACE ${stb_SOURCE_DIR} )
17-
6+ find_package (Stb CONFIG REQUIRED)
Original file line number Diff line number Diff line change 33 "builtin-baseline" : " b02e341c927f16d991edbd915d8ea43eac52096c" ,
44 "dependencies" : [
55 " zlib" ,
6- " ffmpeg"
6+ " ffmpeg" ,
7+ " stb"
78 ]
89 }
You can’t perform that action at this time.
0 commit comments