Pin STB header files at working versions.
This commit is contained in:
parent
f170772f8a
commit
9d4a599d0c
|
@ -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}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue