summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-02 22:35:44 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-02 22:45:25 -0800
commitbc9b9287a4aaa066970b75858c27b86ef0a4d810 (patch)
treecf9a5fad5d9307857184f4fb1f1d2c3fb1f07f86
parent4cce5df7e22575d5e37f99b15dbf283e2da53ea9 (diff)
downloadsubsurface-bc9b9287a4aaa066970b75858c27b86ef0a4d810.tar.gz
Allow us to build for older versions of Mac OSX than we are running
This requires some serious hacking around with brew to get the libraries and frameworks that we use to also be able to run on 10.5, but this is the part that's needed in the Subsurface configuration. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-configure.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 2a369da2b..af9003516 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -26,6 +26,8 @@
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized
*-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized
}
+mac: QMAKE_CLAGS += -mmacosx-version-min=10.5
+mac: QMAKE_CXXLAGS += -mmacosx-version-min=10.5
!win32-msvc*: QMAKE_CFLAGS += -std=gnu99