make the pkg-config error message more precise
while the meaning of the error message is actually pretty obvious from the context, some people apparently expect an equivalence with their package manager's terminology. Change-Id: Ie7a31887bf5086e5d1d7de7e339a6d08571a4d01 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
8059541199
commit
183b862fe0
@ -7,7 +7,7 @@ for(ever) {
|
|||||||
libvar = LIBS$$pkgsfx
|
libvar = LIBS$$pkgsfx
|
||||||
for(PKGCONFIG_LIB, $$list($$unique($$pkgvar))) {
|
for(PKGCONFIG_LIB, $$list($$unique($$pkgvar))) {
|
||||||
# don't proceed if the .pro asks for a package we don't have!
|
# don't proceed if the .pro asks for a package we don't have!
|
||||||
!packagesExist($$PKGCONFIG_LIB):error("Package $$PKGCONFIG_LIB not found")
|
!packagesExist($$PKGCONFIG_LIB): error("$$PKGCONFIG_LIB development package not found")
|
||||||
|
|
||||||
PKGCONFIG_CFLAGS = $$system($$PKG_CONFIG --cflags $$PKGCONFIG_LIB)
|
PKGCONFIG_CFLAGS = $$system($$PKG_CONFIG --cflags $$PKGCONFIG_LIB)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user