[cmake-developers] [CMake 0013132]: FindPkgConfig.cmake not setting PKG_CONFIG_FOUND

Mantis Bug Tracker mantis at public.kitware.com
Sat Apr 14 21:43:55 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13132 
====================================================================== 
Reported By:                Rex Dieter
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13132
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-14 21:43 EDT
Last Modified:              2012-04-14 21:43 EDT
====================================================================== 
Summary:                    FindPkgConfig.cmake not setting PKG_CONFIG_FOUND
Description: 
issue http://public.kitware.com/Bug/view.php?id=13125 isn't quite fixed yet (and
I couldn't figure out a way to reopen that one).

from FindPackageHandleStandardArgs.cmake:
# It also sets the <UPPERCASED_NAME>_FOUND variable.

notice the *UPPERCASED* part, so what's in FindPkgConfig.cmake now:
set(PKG_CONFIG_FOUND "${PkgConfig_FOUND}")
does not work, but
set(PKG_CONFIG_FOUND "${PKGCONFIG_FOUND}")
does work.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-14 21:43 Rex Dieter     New Issue                                    
======================================================================




More information about the cmake-developers mailing list