build(jpegenc): add stb as a submodule
This commit is contained in:
parent
98a5228cf7
commit
2829cf92f4
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2c980bb59875b0d32144a71867fbdebb2f77cd20
|
||||
|
|
@ -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)
|
||||
Loading…
Reference in New Issue