mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03: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
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ exists($$OUT_PWD/../conf.pri) {
|
|||
}
|
||||
|
||||
LIBS += -framework Carbon -framework IOKit
|
||||
QMAKE_CXXFLAGS += -stdlib=libc++
|
||||
QMAKE_LFLAGS += -stdlib=libc++
|
||||
|
||||
document_icon.path = Contents/Resources
|
||||
document_icon.files = mac/qBitTorrentDocument.icns
|
||||
|
|
Loading…
Reference in a new issue