16 lines
437 B
CMake
16 lines
437 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.10.0
|
|
GIT_SHALLOW FALSE # ensure submodules are checked out
|
|
)
|
|
set(C4CORE_INSTALL OFF CACHE BOOL "" FORCE)
|
|
set(RYML_INSTALL OFF CACHE BOOL "" FORCE)
|
|
FetchContent_MakeAvailable(ryml) |