summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-29 19:58:34 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-10-30 12:02:28 -0400
commite3bc69b7e77aa6771c8db3695f12548447e1de51 (patch)
tree0c1a0bde928fea3e09b1d72222b400176c0936c7 /configure
parent7a13db9a863c9be58709e941f44eb2c370276e2a (diff)
downloadqtlocation-mapboxgl-e3bc69b7e77aa6771c8db3695f12548447e1de51.tar.gz
use CoreImage for decoding/encoding images on osx/ios
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 12 insertions, 3 deletions
diff --git a/configure b/configure
index afb94d4795..daf09eaeee 100755
--- a/configure
+++ b/configure
@@ -6,6 +6,10 @@ shopt -s expand_aliases
CONFIG_FILE=${1:-config.gypi}
+if [ `uname -s` = 'Darwin' ]; then
+ MASON_PLATFORM=${MASON_PLATFORM:-osx}
+fi
+
function finish {
>&2 echo -en "\033[0m";
}
@@ -34,11 +38,16 @@ if [[ ! -d ~/.mason ]]; then
fi
alias mason='~/.mason/mason'
-
-case $MASON_PLATFORM in
+case ${MASON_PLATFORM} in
'ios')
SQLITE_VERSION=system
- LIBPNG_VERSION=1.6.13
+ LIBUV_VERSION=0.10.28
+ ZLIB_VERSION=system
+ BOOST_VERSION=system
+ ;;
+ 'osx')
+ GLFW_VERSION=a21f2377
+ SQLITE_VERSION=system
LIBUV_VERSION=0.10.28
ZLIB_VERSION=system
BOOST_VERSION=system