From 7598e3d2b94264c398c718414792e8a0db63bfee Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 13 Nov 2021 20:48:59 +0000 Subject: [PATCH] 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 --- yaml-cpp-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.30.2