Merge pull request #507 from thearchivalone/release

Documentation: Submodule hint added
This commit is contained in:
Syoyo Fujita 2024-12-21 19:59:42 +09:00 committed by GitHub
commit fbff1f45b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -211,6 +211,11 @@ set(TINYGLTF_INSTALL OFF CACHE INTERNAL "" FORCE)
add_subdirectory(/path/to/tinygltf)
```
NOTE: Using tinygltf as a submodule doesn't automatically add the headers to your include path (as standard for many libraries). To get this functionality, add the following to the CMakeLists.txt file from above:
```
target_include_directories(${PROJECT_NAME} PRIVATE "/path/to/tinygltf")
```
### Saving gltTF 2.0 model