summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-17 16:53:40 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-17 16:53:40 +0100
commit1f2c71ec8bc3b228db2d90751a5bae4e269e1dd4 (patch)
treeed6ff46cd6c0ef2f57a64ca584094fcde8dd65e3 /configure
parent88af0b8b6c1558a832729f902e5abf9f46d97897 (diff)
downloadqtlocation-mapboxgl-1f2c71ec8bc3b228db2d90751a5bae4e269e1dd4.tar.gz
port of collision class
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index e774317a2e..b669e22959 100755
--- a/configure
+++ b/configure
@@ -19,6 +19,11 @@ parser.add_option("--debug",
dest="debug",
help="Also build debug build")
+parser.add_option("--boost",
+ action="store",
+ dest="boost_root",
+ help="Path to boost (defaults to /usr/local)")
+
parser.add_option("--glfw3",
action="store",
dest="glfw3",
@@ -55,6 +60,10 @@ def pkg_config(pkg):
return (libs, cflags)
def configure_llmr(o):
+ if options.boost_root:
+ o['variables']['boost_root'] = options.boost_root
+ else:
+ o['variables']['boost_root'] = '/usr/local'
o['target_defaults']['default_configuration'] = 'Debug' if options.debug else 'Release'
def configure_glfw3(o):