From 8163d8c1130b731db39b2ec968c9685f81f276fc Mon Sep 17 00:00:00 2001 From: injae <8687lee@gmail.com> Date: Sun, 7 Jan 2024 18:17:14 +0900 Subject: [PATCH] yaml-cpp 0.8.0 -> 0.6.3 (has cmake find-package bug) --- CMakeLists.txt | 2 +- cppm.toml | 2 +- thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7e55bd..a536623 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ find_cppkg(magic_enum 0.9.5 MODULE magic_enum::magic_enum TYPE lib) find_cppkg(nameof 0.10.3 MODULE nameof::nameof TYPE lib) find_cppkg(nlohmann_json 3.11.3 MODULE nlohmann_json::nlohmann_json TYPE lib OPTIONAL OFF) find_cppkg(toml11 3.7.1 MODULE toml11::toml11 TYPE lib OPTIONAL OFF) -find_cppkg(yaml-cpp 0.8.0 MODULE yaml-cpp TYPE lib OPTIONAL OFF) +find_cppkg(yaml-cpp 0.6.3 MODULE yaml-cpp TYPE lib OPTIONAL OFF) cppm_target_define(serdepp STATIC diff --git a/cppm.toml b/cppm.toml index 4c927db..736dfcf 100644 --- a/cppm.toml +++ b/cppm.toml @@ -93,7 +93,7 @@ source = ["tests/.*"] nameof = { version="0.10.3", link="public"} magic_enum = { version= "0.9.5", link="public"} fmt = {version="10.2.0", link="public", optional=true} - yaml-cpp = { version="0.8.0", link="public", optional=true} + yaml-cpp = { version="0.6.3", link="public", optional=true} toml11 = { version="3.7.1", link="public", optional=true} nlohmann_json = { version="3.11.3", link="public", optional=true} RapidJSON = { version="1.1.1", link="public", optional=true} diff --git a/thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in b/thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in index 4aab0de..35946fd 100644 --- a/thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in +++ b/thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.6) project(yaml-cpp-0.6.3-install) -set(CPPM_VERSION 0.0.13) +set(CPPM_VERSION ${CPPM_VERSION}) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cppm_loader.cmake) download_package(yaml-cpp 0.6.3 URL https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.3.tar.gz TYPE lib CMAKE_ARGS ${CMAKE_ARGS} -DYAML_CPP_BUILD_TESTS=OFF)