Skip to content

Commit

Permalink
yaml-cpp 0.8.0 -> 0.6.3 (has cmake find-package bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
injae committed Jan 7, 2024
1 parent e8ba4ec commit 8163d8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cppm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/yaml-cpp/0.6.3/yaml-cpp.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8163d8c

Please sign in to comment.