summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorAlexander Karzhenkov <karzhenkov@mail.ru>2017-10-05 21:31:36 +0500
committerPeter Dimov <pdimov@pdimov.com>2017-10-21 05:31:50 +0300
commitb850c1fc9adfe77eb4c114ac14c35e2b69ecb4bb (patch)
treec23c97da6df2c4723ef0110c99d8ab011bf0aaf5 /Jamroot
parent237564074ebdd59ef54cdb1ff80fb28b14fd9afc (diff)
downloadboost-b850c1fc9adfe77eb4c114ac14c35e2b69ecb4bb.tar.gz
Auto-detection of <threadapi> default value
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot b/Jamroot
index 2efc5f4e4e..6871b87d06 100644
--- a/Jamroot
+++ b/Jamroot
@@ -129,6 +129,7 @@ import xsltproc ;
import set ;
import path ;
import link ;
+import threadapi-feature ;
path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.66.0 ;
@@ -169,6 +170,7 @@ project boost
<toolset>como-linux:<define>_GNU_SOURCE=1
# When building docs within Boost, we want the standard Boost style
<xsl:param>boost.defaults=Boost
+ <conditional>@threadapi-feature.detect
: usage-requirements <include>.
: build-dir bin.v2
;