Using variable to store tinyusdz repo, moved include from hpp to cpp file, minor syntax change

This commit is contained in:
Vladyslav Baranovskyi
2024-08-30 14:10:30 +03:00
parent 380e0f323d
commit ba2ed53ae2
3 changed files with 13 additions and 8 deletions

View File

@@ -3,9 +3,13 @@ include(FetchContent)
message("-- Building TinyUSDZ")
if(NOT DEFINED TINYUSDZ_REPO)
set(TINYUSDZ_REPO https://github.com/syoyo/tinyusdz.git)
endif ()
FetchContent_Declare(
tinyusdz
GIT_REPOSITORY https://github.com/syoyo/tinyusdz.git
GIT_REPOSITORY ${TINYUSDZ_REPO}
GIT_TAG v0.8.0rc8
GIT_SHALLOW TRUE
CMAKE_ARGS