build(jpegenc): add stb as a submodule

This commit is contained in:
Qznad
2026-09-29 11:03:54 +01:00
parent 98a5228cf7
commit 2829cf92f4
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -22,3 +22,6 @@
[submodule "3rdparty/freetype"]
path = 3rdparty/freetype
url = https://github.com/freetype/freetype.git
[submodule "3rdparty/stb"]
path = 3rdparty/stb
url = https://github.com/nothings/stb.git
Vendored Submodule
+1
Submodule 3rdparty/stb added at 2c980bb598
@@ -0,0 +1,5 @@
add_library(libSceJpegEnc SHARED EXCLUDE_FROM_ALL ${CMAKE_CURRENT_SOURCE_DIR}/Export.cpp)
target_include_directories(libSceJpegEnc PRIVATE ${LIBS_INCLUDE_DIR})
target_include_directories(libSceJpegEnc SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/stb)
set_target_properties(libSceJpegEnc PROPERTIES CXX_EXTENSIONS OFF)
configure_windows_unwind(libSceJpegEnc)