> Abosulety! However, it'll require an actual test case. ``` #!/bin/bash cleanup() { rm -rf "$1" } set -e testdir="$(mktemp -d)" trap "cleanup ${testdir}" EXIT pushd "${testdir}" cat <<EOF > CMakeLists.txt cmake_minimum_required(VERSION 3.16 FATAL_ERROR) project(yaml-cpp-test LANGUAGES CXX) find_package(yaml-cpp) get_filename_component(YAML_CPP_INCLUDE_DIR "\${YAML_CPP_INCLUDE_DIR}" REALPATH BASE_DIR "/") message(STATUS "YAML_CPP_INCLUDE_DIR: \${YAML_CPP_INCLUDE_DIR}") if(NOT YAML_CPP_INCLUDE_DIR STREQUAL "/usr/include") message(FATAL_ERROR "Wrong value exported in YAML_CPP_INCLUDE_DIR") endif() EOF cmake -S. -Bbuild ```
You may run this bash script as a test. Our users are also affected by this bug, +1 for fixing it in 20.04 LTS. Thx! -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs