Skip to content

Commit

Permalink
Merge pull request #507 from thearchivalone/release
Browse files Browse the repository at this point in the history
Documentation: Submodule hint added
  • Loading branch information
syoyo authored Dec 21, 2024
2 parents 116d003 + d950e7c commit fbff1f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fbff1f4

Please sign in to comment.