Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 00:28:23 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 00:35:41 +0300
commit9ab5fe97b62b374e7985df72fc3087facec753b8 (patch)
tree8bb43df8ffcf43117fef42da927c9b4493a3ac6c /qmake/compiler.pri
parent523d40c2b60bb4b0851b26169447f1e8df6625f8 (diff)
Set target macOS version to 10.9
"libstdc++" was deprecated with Xcode 8 and is not supported in Xcode 10. The new library is "libc++", available with macOS 10.9+. https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
Diffstat (limited to 'qmake/compiler.pri')
-rw-r--r--qmake/compiler.pri8
1 files changed, 2 insertions, 6 deletions
diff --git a/qmake/compiler.pri b/qmake/compiler.pri
index 22e72347d..1dc60840e 100644
--- a/qmake/compiler.pri
+++ b/qmake/compiler.pri
@@ -350,7 +350,7 @@ macx {
} else {
QMAKE_MAC_SDK = $$system(xcrun --sdk macosx --show-sdk-path 2>/dev/null)
isEmpty(QMAKE_MAC_SDK) {
- QMAKE_MAC_SDK = $$system(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
+ QMAKE_MAC_SDK = $$system(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
!exists($$QMAKE_MAC_SDK) {
message("Unable to find usable OS X SDK")
error("Aborting build")
@@ -362,11 +362,7 @@ macx {
QMAKE_CXX = $$system(xcrun -find clang++)
QMAKE_LINK = $$system(xcrun -find clang++)
- # Set target macOS version to 10.8 for Qt 5.10 and above.
- MUMBLE_TARGET_MACOS_VERSION = 10.7
- isEqual(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 9) {
- MUMBLE_TARGET_MACOS_VERSION = 10.8
- }
+ MUMBLE_TARGET_MACOS_VERSION = 10.9
QMAKE_MACOSX_DEPLOYMENT_TARGET = $$MUMBLE_TARGET_MACOS_VERSION
QMAKE_CFLAGS += -mmacosx-version-min=$$MUMBLE_TARGET_MACOS_VERSION