mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
qmake/pkgconfig.pri: Update to allow building with Qt4
This commit is contained in:
parent
427c7464e6
commit
4e024a2b06
@ -6,7 +6,12 @@
|
||||
# Allow cross-building by making a call to return the pkg-config
|
||||
# that the user supplied to the build.
|
||||
# pkgConfigExecutable() is part of Qt5.
|
||||
PKG_CONFIG = $$pkgConfigExecutable()
|
||||
# If building with Qt4, pkg-config is called instead
|
||||
isEqual(QT_MAJOR_VERSION, 5) {
|
||||
PKG_CONFIG = $$pkgConfigExecutable()
|
||||
} else {
|
||||
PKG_CONFIG = "pkg-config"
|
||||
}
|
||||
|
||||
# must_pkgconfig(pkg)
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user