mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Add libc++ flags on OS X
QT5 on OS X apparently does not add '-stdlib=libc++' to CXXFLAGS or LFLAGS, so they must be added by us for compilation to succeed.
This commit is contained in:
parent
95c75bb8c8
commit
87c272207f
@ -10,6 +10,8 @@ exists($$OUT_PWD/../conf.pri) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LIBS += -framework Carbon -framework IOKit
|
LIBS += -framework Carbon -framework IOKit
|
||||||
|
QMAKE_CXXFLAGS += -stdlib=libc++
|
||||||
|
QMAKE_LFLAGS += -stdlib=libc++
|
||||||
|
|
||||||
document_icon.path = Contents/Resources
|
document_icon.path = Contents/Resources
|
||||||
document_icon.files = mac/qBitTorrentDocument.icns
|
document_icon.files = mac/qBitTorrentDocument.icns
|
||||||
|
Loading…
Reference in New Issue
Block a user