Bug #1350

Wrong prefix in pkg-config files when packaged with cpack

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:ResolvedStart date:01/23/2013
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Build SystemEstimated 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

Revision 685364ac
Added by Arne Nordmann over 11 years ago

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

Revision 1e48f2b6
Added by Arne Nordmann over 11 years ago

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.

Also available in: Atom PDF