From b004723464cf7f9844a0d75f217fe0766a0d3fc9 Mon Sep 17 00:00:00 2001 From: falsycat Date: Thu, 22 Sep 2022 17:22:14 +0900 Subject: [PATCH] add new thirdparty library, yaml-cpp --- CMakeLists.txt | 1 + thirdparty/CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85c7a50..c45c68f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,4 +159,5 @@ target_link_libraries(nf7 miniaudio source_location yas + yaml-cpp ) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index f71d896..886537f 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -211,6 +211,17 @@ target_include_directories(source_location SYSTEM INTERFACE .) target_sources(source_location INTERFACE source_location.hh) +# ---- yaml-cpp ---- +# repository: https://github.com/jbeder/yaml-cpp +# license : MIT + +FetchContent_Declare( + yaml-cpp + URL "https://github.com/jbeder/yaml-cpp/archive/refs/tags/yaml-cpp-0.7.0.zip" +) +FetchContent_MakeAvailable(yaml-cpp) + + # ---- yas ---- # repository: https://github.com/niXman/yas # license : Boost