File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -268,8 +268,6 @@ jobs:
268268 cd ../boost-root/libs/$LIBRARY/test/cmake_install_test && mkdir __build__ && cd __build__
269269
270270 export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH
271- export BOOST_SUPERPROJECT_VERSION=`wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'`
272- echo "Version is ${BOOST_SUPERPROJECT_VERSION}"
273271
274272 set -e
275273 for BACKEND in stacktrace stacktrace_noop stacktrace_basic stacktrace_backtrace; do
@@ -433,8 +431,6 @@ jobs:
433431 - name : Use the installed library (Debug)
434432 shell : cmd
435433 run : |
436- set BOOST_SUPERPROJECT_VERSION=`wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'`
437- echo %BOOST_SUPERPROJECT_VERSION%
438434 cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test && mkdir __build__ && cd __build__
439435 cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix -DBOOST_STACKTRACE_IMPL_BACKEND=stacktrace ..
440436 cmake --build . --config Debug
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ is via `find_package`:
339339
340340```
341341find_package(
342- Boost 1.88 # Boost minimal version
342+ Boost
343343 REQUIRED stacktrace stacktrace_from_exception
344344 CONFIG
345345)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.8...4.20)
77project (cmake_install_test LANGUAGES CXX )
88
99find_package (
10- Boost # "$ENV{BOOST_SUPERPROJECT_VERSION}"
10+ Boost
1111 REQUIRED stacktrace ${BOOST_STACKTRACE_IMPL_BACKEND} stacktrace_from_exception
1212 CONFIG
1313)
You can’t perform that action at this time.
0 commit comments