ros / rosconsole

17 stars 61 forks source link

export boost-regex-dev for now #38

Closed dirk-thomas closed 4 years ago

dirk-thomas commented 4 years ago

The dev package libboost-regex-dev maps to a version specific package which is specific per platform: e.g. libboost-regex<VERSION>-dev.

Using that package from CMake results in linking against a library without a specific version number: e.g. /usr/lib/x86_64-linux-gnu/libboost_regex.so.

When only installing the non-dev package like libboost-regex1.67.0 that only installs a library with a specific version suffix, e.g. /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.67.0.

As a consequence downstream packages fail to link.

As a workaround for now this patch exports the dev package rather than the non-dev package.