Public bug reported:
Package yaml-cpp installs a CMake package config file. This package
config file sets variable "YAML_CPP_INCLUDE_DIR" incorrectly.
Line 8 of this file is currently:
set(YAML_CPP_INCLUDE_DIR "${YAML_CPP_CMAKE_DIR}/../../../../../include")
This resolves to path "/include", which is invalid.
The line should instead be:
set(YAML_CPP_INCLUDE_DIR "${YAML_CPP_CMAKE_DIR}/../../../../include")
Which resolves to path "/lib/include".
I encountered this bug on Ubuntu 20.04 with version 0.6.2-4ubuntu1. The
package versions in Ubuntu 16.04 and 18.04 have the correct file path.
** Affects: yaml-cpp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880419
Title:
yaml-cpp-config.cmake has incorrect path to yaml-cpp include directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs