MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004051 | CMake | CMake | public | 2006-11-20 09:03 | 2016-06-10 14:30 |
| Reporter | Frederic Heem | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | low | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0004051: integrated pkgconfig | ||||
| Description | pkgconfig is becoming an ad-hoc standard on *NIX for retrieving information about libraries. However, its usage through cmake is cumbersome: * the PKG_CONFIG_PATH searching is broken, suppose that PKG_CONFIG_PATH equals to MYPROJECTDIR in order to look for $MYPROJECTDIR/myproject.pc and ONLY $MYPROJECTDIR/myproject.pc. pkgconfig will first search in /usr, which is not what is intended This problem leads to have separate cases in FindXXX.cmake, the one which uses FIND_INCLUDE, FIND_LIBRARY in case when MYPROJECTDIR is set, and the other case which uses pkgconfig * pkgconfig returns string with ending line ("\r\n") * pkgconfig returns include directories with -I, this is not directly understood by cmake * pkgconfig may return multiple path, e.g -I/opt/include -I/usr/local/include, FIND_INCLUDE doesn't support this * pkgconfig is not installed by default on windows * pkgconfig is removing default include directory such as -I/usr/include and default library directory such as -I/usr/local This makes UsePkgconfig more complicated. So the request in to include pkgconfig code inside cmake and fixing all issues explained. Thanks | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-11-02 10:08 | Stephen Kelly | Note Added: 0034320 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041331 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||