mirror of
https://github.com/godotengine/FBX2glTF.git
synced 2026-01-04 18:10:16 +03:00
Pin STB header files at working versions.
This commit is contained in:
@@ -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
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
1625
third_party/stb/stb_image_write.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user