mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Add CONFIG(unix)'s new SYSTEM_INCLUDES to CFLAGS and CXXFLAGS.
I mistakenly thought SYSTEM_INCLUDES was a qmake setting. It isn't. So add the entries to CFLAGS and CXXFLAGS ourselves.
This commit is contained in:
parent
81bc94c9aa
commit
35e58ebbaf
@ -189,6 +189,11 @@ unix:!macx {
|
||||
!isEmpty(MUMBLE_PREFIX) {
|
||||
SYSTEM_INCLUDES = $$(MUMBLE_PREFIX)/include $$[QT_INSTALL_HEADERS]
|
||||
QMAKE_LIBDIR *= $$(MUMBLE_PREFIX)/lib
|
||||
|
||||
for(inc, $$list($$SYSTEM_INCLUDES)) {
|
||||
QMAKE_CFLAGS += -isystem $$inc
|
||||
QMAKE_CXXFLAGS += -isystem $$inc
|
||||
}
|
||||
}
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user