summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-12 15:10:03 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-05-12 15:10:03 +0200
commitbb33493710629b1f78ac7ac23a89b656fb6a8a8c (patch)
tree2e1177b0f56c73d74f312cdef2eefd475ac5b6cc /configure
parente12c70337e9ea02529a857e3bc661289774d3772 (diff)
downloadqtlocation-mapboxgl-bb33493710629b1f78ac7ac23a89b656fb6a8a8c.tar.gz
use boost_program_options from mason
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index f49ea21896..c1f7f6da17 100755
--- a/configure
+++ b/configure
@@ -46,6 +46,7 @@ case ${MASON_PLATFORM} in
LIBUV_VERSION=0.10.28
ZLIB_VERSION=system
BOOST_VERSION=1.57.0
+ BOOST_PROGRAM_OPTIONS_VERSION=1.57.0
NUNICODE_VERSION=1.5.1
LIBZIP_VERSION=0.11.2
;;
@@ -104,7 +105,11 @@ CONFIG="# Do not edit. Generated by the configure script.
if [ ! -z ${BOOST_VERSION} ]; then
mason install boost ${BOOST_VERSION}
CONFIG+=" 'boost_cflags%': $(quote_flags $(mason cflags boost ${BOOST_VERSION})),"$LN
- CONFIG+=" 'boost_ldflags%': $(quote_flags $(mason ldflags boost ${BOOST_VERSION})),"$LN
+fi
+
+if [ ! -z ${BOOST_PROGRAM_OPTIONS_VERSION} ]; then
+ mason install boost_libprogram_options ${BOOST_PROGRAM_OPTIONS_VERSION}
+ CONFIG+=" 'boost_program_options_static_libs%': $(quote_flags $(mason static_libs boost_libprogram_options ${BOOST_VERSION})),"$LN
fi
if [ ! -z ${OPENSSL_VERSION} ]; then