12 lines
294 B
CMake
12 lines
294 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
yaml-cpp
|
|
EXCLUDE_FROM_ALL
|
|
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
|
|
GIT_TAG 0.8.0
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
set(YAML_CPP_BUILD_TOOLS OFF)
|
|
set(YAML_CPP_BUILD_TESTS OFF)
|
|
FetchContent_MakeAvailable(yaml-cpp) |