`rymlConfig.cmake` requires patching for finding `rymlTargets.cmake`
Description:
rapiyaml can't find its own rymlTargets.cmake
as defined in /usr/lib/cmake/ryml/rymlConfig.cmake:33
:
include(${PACKAGE_PREFIX_DIR}/rymlTargets.cmake)
Additional info:
- package version(s):
rapidyaml 0.5.0-4
Steps to reproduce:
cmake_minimum_required(VERSION 3.12)
project(rymltest)
add_executable(rymltest main.cpp)
find_package(ryml REQUIRED)
target_link_libraries(rymltest ryml::ryml)
main.cpp can be anything, as this is about cmake configuration errors:
CMake Error at /usr/lib/cmake/ryml/rymlConfig.cmake:33 (include):
include could not find requested file:
/rymlTargets.cmake
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
CMake Error at /usr/lib/cmake/ryml/rymlConfig.cmake:16 (message):
File or directory /usr/lib/cmake/ryml/include/ referenced by variable
RYML_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
/usr/lib/cmake/ryml/rymlConfig.cmake:43 (set_and_check)
CMakeLists.txt:7 (find_package)
Configuring incomplete, errors occurred!