[cmake-developers] [CMake 0015634]: Support for pkgconfig --define-variable

Mantis Bug Tracker mantis at public.kitware.com
Mon Jun 29 09:13:25 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15634 
====================================================================== 
Reported By:                Heinrich Fink
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15634
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-06-29 09:13 EDT
Last Modified:              2015-06-29 09:13 EDT
====================================================================== 
Summary:                    Support for pkgconfig --define-variable
Description: 
It is often necessary to re-define the prefix variable of pkgconfig scripts to
adapt to different compilation environments. This is usually done via
"pkg-config --define-variable=prefix=/my/dev/root/libs". Unfortunately this
workflow is not support by CMake scripts that use pkgconfig. A simple option to
define additional agurments for pkg-config when invoked would be helpful
already. Manually redefining the pkg-config executable path, to already contain
the additional argument, wouldn't work.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-29 09:13 Heinrich Fink  New Issue                                    
======================================================================



More information about the cmake-developers mailing list