The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13175 
====================================================================== 
Reported By:                Derek Dai
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13175
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-29 18:08 EDT
Last Modified:              2012-04-29 18:08 EDT
====================================================================== 
Summary:                    FindPkgConfig.cmake should respect environment
variable PKG_CONFIG just like autotools do
Description: 
if(NOT PKG_CONFIG_EXECUTABLE)
        set(PKG_CONFIG_EXECUTABLE $ENV{PKG_CONFIG})
        if(NOT PKG_CONFIG_EXECUTABLE)
                find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC 
"pkg-config
executable")
        endif(NOT PKG_CONFIG_EXECUTABLE)
endif(NOT PKG_CONFIG_EXECUTABLE)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-29 18:08 Derek Dai      New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to