[BROKEN] This compiles if we use fastgltf 0.9.0, but it says Error::UnsupportedVersion for the file. Earlier versions can't compile because either simdjson has code errors, or the .a/.so is missing important functions.
This commit is contained in:
parent
85d792e257
commit
dbda70e3a0
7 changed files with 185 additions and 7 deletions
10
meson.build
10
meson.build
|
|
@ -78,7 +78,14 @@ imgui = subproject('imgui',
|
|||
).get_variable('imgui_dep')
|
||||
|
||||
sdl2 = subproject('sdl2').get_variable('sdl2_dep')
|
||||
fastgltf = subproject('fastgltf').get_variable('fastgltf_dep')
|
||||
|
||||
fastgltf_opts = cmake.subproject_options()
|
||||
fastgltf_opts.add_cmake_defines({
|
||||
'FASTGLTF_DOWNLOAD_SIMDJSON': false,
|
||||
})
|
||||
|
||||
fastgltf_proj = cmake.subproject('fastgltf', options: fastgltf_opts)
|
||||
fastgltf = fastgltf_proj.get_variable('fastgltf_dep')
|
||||
|
||||
glm_opts = cmake.subproject_options()
|
||||
glm_opts.add_cmake_defines({
|
||||
|
|
@ -112,6 +119,7 @@ dependencies += [
|
|||
glm,
|
||||
imgui,
|
||||
sdl2,
|
||||
fastgltf,
|
||||
]
|
||||
|
||||
sources = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue