Просмотр исходного кода

Auto-detection of <threadapi> default value

Alexander Karzhenkov 8 лет назад
Родитель
Сommit
b850c1fc9a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Jamroot

+ 2 - 0
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
     ;

粤ICP备19079148号