Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: use pkg-config to discover docopt
The upstream project provides a CMake file which attempts to import both static and shared libraries. This is a problem on any reasonable distribution because Nobody Ships Static Libraries Anymore (for reasonable reasons). So we have distros shipping CMake files from upstream which are broken because distros actively remove the static library from their packaging. This was not caught by the CI because I cannot type `Depends-on` properly, and therefore Zuul would feed oldish prebuilt dependencies which still included the custom-built docopt library in both static and shared versions. We need a linter for commit footers :p. Fixes: Ib246d39f975c00bc6489f683f1f21f34cc808201 Fixes: 88db08a CI: use system docopt-cpp Bug: docopt/docopt.cpp#134 Change-Id: Ief13813210199d8d58b82659e522a941033f6302
- Loading branch information