Pin STB header files at working versions.

This commit is contained in:
Par Winzell 2019-02-22 17:11:34 -08:00
parent f170772f8a
commit 9d4a599d0c
3 changed files with 9155 additions and 12 deletions

View File

@ -110,16 +110,6 @@ ExternalProject_Add(Json
)
set(JSON_INCLUDE_DIR "${CMAKE_BINARY_DIR}/json/src/Json/src")
# stb
ExternalProject_Add(STB
PREFIX stb
GIT_REPOSITORY https://github.com/nothings/stb
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Skipping STB configure step."
BUILD_COMMAND ${CMAKE_COMMAND} -E echo "Skipping STB build step."
INSTALL_COMMAND ${CMAKE_COMMAND} -E echo "Skipping STB install step."
)
set(STB_INCLUDE_DIR "${CMAKE_BINARY_DIR}/stb/src/STB")
# cppcodec
ExternalProject_Add(CPPCodec
PREFIX cppcodec
@ -225,7 +215,6 @@ add_dependencies(libFBX2glTF
MathFu
FiFoMap
Json
STB
CPPCodec
Fmt
)
@ -268,6 +257,7 @@ endif()
target_include_directories(libFBX2glTF PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/src
"third_party/stb"
)
target_include_directories(libFBX2glTF SYSTEM PUBLIC
Iconv::Iconv
@ -276,7 +266,6 @@ target_include_directories(libFBX2glTF SYSTEM PUBLIC
${MATHFU_INCLUDE_DIRS}
${FIFO_MAP_INCLUDE_DIR}
${JSON_INCLUDE_DIR}
${STB_INCLUDE_DIR}
${CPPCODEC_INCLUDE_DIR}
${FMT_INCLUDE_DIR}
${LIBXML2_INCLUDE_DIR}

7529
third_party/stb/stb_image.h vendored Normal file

File diff suppressed because it is too large Load Diff

1625
third_party/stb/stb_image_write.h vendored Normal file

File diff suppressed because it is too large Load Diff