This package has a file /usr/share/cmake/yaml-cpp/yaml-cpp-config.cmake which has 3 lines broken:
CBL Marine 2.0
6 # Compute paths
7 get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
8 set(YAML_CPP_INCLUDE_DIR "")
9
10 # Our library dependencies (contains definitions for IMPORTED targets)
11 include("${YAML_CPP_CMAKE_DIR}/-targets.cmake")
12
13 # These are IMPORTED targets created by yaml-cpp-targets.cmake
14 set(YAML_CPP_LIBRARIES "")
This same file on RHEL 9 has this content and working:
6 # Compute paths
7 get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
8 set(YAML_CPP_INCLUDE_DIR "${YAML_CPP_CMAKE_DIR}/../../../include")
9
10 # Our library dependencies (contains definitions for IMPORTED targets)
11 include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake")
12
13 # These are IMPORTED targets created by yaml-cpp-targets.cmake
14 set(YAML_CPP_LIBRARIES "yaml-cpp")
Broken yaml-cpp-devel package "yaml-cpp-config.cmake"
This package has a file /usr/share/cmake/yaml-cpp/yaml-cpp-config.cmake which has 3 lines broken:
CBL Marine 2.0 6 # Compute paths 7 get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) 8 set(YAML_CPP_INCLUDE_DIR "") 9 10 # Our library dependencies (contains definitions for IMPORTED targets) 11 include("${YAML_CPP_CMAKE_DIR}/-targets.cmake") 12 13 # These are IMPORTED targets created by yaml-cpp-targets.cmake 14 set(YAML_CPP_LIBRARIES "")
This same file on RHEL 9 has this content and working: 6 # Compute paths 7 get_filename_component(YAML_CPP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) 8 set(YAML_CPP_INCLUDE_DIR "${YAML_CPP_CMAKE_DIR}/../../../include") 9 10 # Our library dependencies (contains definitions for IMPORTED targets) 11 include("${YAML_CPP_CMAKE_DIR}/yaml-cpp-targets.cmake") 12 13 # These are IMPORTED targets created by yaml-cpp-targets.cmake 14 set(YAML_CPP_LIBRARIES "yaml-cpp")