mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-14 15:51:49 +08:00
Documentation: Submodule hint added
This commit is contained in:
parent
116d0030f9
commit
d950e7cd9b
@ -211,6 +211,11 @@ set(TINYGLTF_INSTALL OFF CACHE INTERNAL "" FORCE)
|
|||||||
add_subdirectory(/path/to/tinygltf)
|
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
|
### Saving gltTF 2.0 model
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user