From db4f3cacf93aeb3e87e3008ca177aa5878709f03 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 23 Oct 2006 18:47:43 +0000 Subject: [PATCH] Set BOOST_BUILD_PCH_ENABLED when compiling PCH itself. [SVN r35709] --- src/tools/pch.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/pch.jam b/src/tools/pch.jam index e06a92143..15f9e293b 100644 --- a/src/tools/pch.jam +++ b/src/tools/pch.jam @@ -75,7 +75,8 @@ class pch-generator : generator } else { - local r = [ run-pch $(project) $(name) : $(property-set) + local r = [ run-pch $(project) $(name) + : [ $(property-set).add-raw BOOST_BUILD_PCH_ENABLED ] : $(sources) ] ; return [ generators.add-usage-requirements $(r) : BOOST_BUILD_PCH_ENABLED ] ;