Using variable to store tinyusdz repo, moved include from hpp to cpp file, minor syntax change
This commit is contained in:
6
3rdParty/tinyusdz/CMakeLists.txt
vendored
6
3rdParty/tinyusdz/CMakeLists.txt
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user