Bug #1350
Wrong prefix in pkg-config files when packaged with cpack
Status: | Resolved | Start date: | 01/23/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | Build System | Estimated time: | 1.00 hour | |
Target version: | - |
Description
In packages built with cpack .pc files incorrectly define the prefix and pathes to be in /usr/local
, where infact it should be /usr/
, where everything is installed to. See #1338 for details.
Associated revisions
Fixed prefix path in the package config file of cpack packages
fixes #1350
- CPack now sets CMAKE_INSTALL_PREFIX to its own CPACK_INSTALL_PREFIX
- This has to happen before config file configuration
- CPACK_INSTALL_PREFIX is /usr/local by default but can be set through cmake
Backport: Fixed prefix path in the package config file of cpack packages
refs #1350
History
#1 Updated by Anonymous over 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rst-proto|commit:685364ac147bfd7f06760a4bedd518b9d4234bdf.