microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.08k stars 498 forks source link

Broken yaml-cpp-devel package "yaml-cpp-config.cmake" #6308

Open pramenku opened 9 months ago

pramenku commented 9 months ago

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")

pramenku commented 9 months ago

Hi @elsaco / @mfrw Can we fix this issue and release latest version of Marine with the fix.