14 lines
350 B
CMake
14 lines
350 B
CMake
include(FetchContent)
|
|
|
|
if(NOT DEFINED RAPIDYAML_REPO)
|
|
set(RAPIDYAML_REPO https://github.com/biojppm/rapidyaml.git)
|
|
endif ()
|
|
|
|
FetchContent_Declare(
|
|
ryml
|
|
EXCLUDE_FROM_ALL
|
|
GIT_REPOSITORY ${RAPIDYAML_REPO}
|
|
GIT_TAG v0.6.0
|
|
GIT_SHALLOW FALSE # ensure submodules are checked out
|
|
)
|
|
FetchContent_MakeAvailable(ryml) |