Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 310469 Details for
Bug 414037
dev-utils/cmake: FindPkgConfig.cmake should respect environment variable PKG_CONFIG
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Let FindPkgConfig.cmake respect PKG_CONFIG
cmake-2.8.7-FindPkgConfig.patch (text/plain), 658 bytes, created by
DaboD
on 2012-04-29 22:28:13 UTC
(
hide
)
Description:
Let FindPkgConfig.cmake respect PKG_CONFIG
Filename:
MIME Type:
Creator:
DaboD
Created:
2012-04-29 22:28:13 UTC
Size:
658 bytes
patch
obsolete
>diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake >index c47f583..5783d37 100644 >--- a/Modules/FindPkgConfig.cmake >+++ b/Modules/FindPkgConfig.cmake >@@ -87,7 +87,12 @@ > set(PKG_CONFIG_VERSION 1) > set(PKG_CONFIG_FOUND 0) > >-find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable") >+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) > mark_as_advanced(PKG_CONFIG_EXECUTABLE) > > if(PKG_CONFIG_EXECUTABLE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 414037
: 310469