cmake files in wrong place in libcpprest-dev

Bug #1838826 reported by Xtroce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpprest (Ubuntu)
Fix Released
Undecided
Gianfranco Costamagna

Bug Description

the bug system does not let me make a bugreport for the dev but

the cmake files for this package are not in the place that gets searched by default via cmake's find-package
according to https://cmake.org/cmake/help/v3.14/command/find_package.html#search-procedure

the files should be located in either:
<prefix>/(lib/<arch>|lib*|share)/cmake/<name>*/
<prefix>/(lib/<arch>|lib*|share)/<name>*/
<prefix>/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/

instead they are located in:

<prefix>/(lib/<arch>|lib*|share)/cmake/

which misses the name.
Therefore other packages that do a find_package to see if the dependency can be found during compile cannot find it.

Xtroce (xtroce)
affects: chromium-browser (Ubuntu) → cpprest (Ubuntu)
Changed in cpprest (Ubuntu):
assignee: nobody → Gianfranco Costamagna (costamagnagianfranco)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cpprest - 2.10.14-3~build1

---------------
cpprest (2.10.14-3~build1) focal; urgency=medium

  * Upload to focal

cpprest (2.10.14-3) unstable; urgency=medium

  * Fix cmake installation directory (LP: #1838826)
  * std-version, bump to 4.4.1

 -- Gianfranco Costamagna <email address hidden> Thu, 09 Jan 2020 13:09:56 +0100

Changed in cpprest (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.