FS#47591 - [yaml-cpp] Missing yaml-cpp-targets.cmake

Attached to Project: Community Packages
Opened by Branislav Holý (branoholy) - Saturday, 02 January 2016, 03:07 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 04 January 2016, 09:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Yaml-cpp 0.5.2 needs /usr/lib/cmake/yaml-cpp/yaml-cpp-targets.cmake when using find_package() in own CMakeLists.txt but the file is missing. It is necessary because /usr/lib/cmake/yaml-cpp/yaml-cpp-config.cmake includes it.

My sample repo can be used to reproduce the bug. The attached patch file can be used to fix the PKGBUILD.

Additional info:
* package yaml-cpp 0.5.2

Steps to reproduce:
sudo pacman -Sy yaml-cpp
git clone https://github.com/branoholy/yaml-sample.git
cd yaml-sample && mkdir build && cd build
cmake ..
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 04 January 2016, 09:12 GMT
Reason for closing:  Implemented

Loading...