You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
367 B
17 lines
367 B
2 years ago
|
if(TARGET tinyxml2::tinyxml2)
|
||
|
return()
|
||
|
endif()
|
||
|
|
||
|
message(STATUS "Third-party: creating target 'tinyxml2::tinyxml2'")
|
||
|
|
||
|
include(FetchContent)
|
||
|
FetchContent_Declare(
|
||
|
tinyxml2
|
||
|
GIT_REPOSITORY https://github.com/leethomason/tinyxml2.git
|
||
|
GIT_TAG 9.0.0
|
||
|
GIT_SHALLOW TRUE
|
||
|
)
|
||
|
FetchContent_MakeAvailable(tinyxml2)
|
||
|
|
||
|
add_library(tinyxml2::tinyxml2 ALIAS tinyxml2)
|