From: Jochen Sprickerhof Date: Sat, 13 Nov 2021 20:48:59 +0000 (+0000) Subject: Fix empty YAML_CPP_LIBRARIES X-Git-Tag: archive/raspbian/0.7.0+dfsg-8+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7598e3d2b94264c398c718414792e8a0db63bfee;p=yaml-cpp.git Fix empty YAML_CPP_LIBRARIES Bug: https://github.com/jbeder/yaml-cpp/issues/774 Bug-Debian: https://bugs.debian.org/999594 Forwarded: https://github.com/jbeder/yaml-cpp/pull/1037 Last-Update: 2021-11-13 The new version does not set EXPORT_TARGETS. As the value should be yaml-cpp anyhow, just set it directly. Gbp-Pq: Name cmake_set_libraries.patch --- diff --git a/yaml-cpp-config.cmake.in b/yaml-cpp-config.cmake.in index 988517b..4bcc63d 100644 --- a/yaml-cpp-config.cmake.in +++ b/yaml-cpp-config.cmake.in @@ -11,4 +11,4 @@ set(YAML_CPP_INCLUDE_DIR "@INCLUDE_INSTALL_ROOT_DIR@") include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake") # These are IMPORTED targets created by yaml-cpp-targets.cmake -set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@") +set(YAML_CPP_LIBRARIES "yaml-cpp")