summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorAlexander Grund <Flamefire@users.noreply.github.com>2020-09-24 17:34:41 +0200
committerGlen Fernandes <glen.fernandes@gmail.com>2020-10-11 22:08:55 -0400
commite224a9497227349fb07ce81d68547becad7a77b9 (patch)
treee84ba4132fb8fe248658af22339e207a3f5e333c /Jamroot
parent62cdb02a0782db2d1ce915b51aeaaadfd628b2c4 (diff)
downloadboost-e224a9497227349fb07ce81d68547becad7a77b9.tar.gz
Move setting BOOST_BUILD_PATH up to the other variables
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jamroot b/Jamroot
index de86e34f37..af2f220988 100644
--- a/Jamroot
+++ b/Jamroot
@@ -147,6 +147,9 @@ path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.75.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
+# Allow subprojects to simply `import config : requires ;` to get access to the requires rule
+modules.poke : BOOST_BUILD_PATH : $(BOOST_ROOT)/libs/config/checks [ modules.peek : BOOST_BUILD_PATH ] ;
+
boostcpp.set-version $(BOOST_VERSION) ;
use-project /boost/architecture : libs/config/checks/architecture ;
@@ -294,9 +297,6 @@ if [ path.exists $(BOOST_ROOT)/libs/wave/tool/build ]
use-project /boost/libs/wave/tool : libs/wave/tool/build ;
}
-# Allow subprojects to simply `import config : requires ;` to get access to the requires rule
-modules.poke : BOOST_BUILD_PATH : $(BOOST_ROOT)/libs/config/checks [ modules.peek : BOOST_BUILD_PATH ] ;
-
# Make the boost-install rule visible in subprojects
# This rule should be called from libraries' Jamfiles and will create two