Skip to content

Commit 7bfdb91

Browse files
authored
Use the latest CMake when building examples (#977)
1 parent f7403c0 commit 7bfdb91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.mci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,11 +1011,12 @@ tasks:
10111011
shell: bash
10121012
script: |-
10131013
set -o errexit
1014-
. .evergreen/find_cmake.sh
10151014
cd examples/add_subdirectory
10161015
[ -d mongo-c-driver ] || git clone --depth 1 https://github.com/mongodb/mongo-c-driver
10171016
rsync -aq --exclude='examples/add_subdirectory' $(readlink -f ../..) .
10181017
[ -d build ] || mkdir build
1018+
. ./mongo-c-driver/.evergreen/scripts/find-cmake-latest.sh
1019+
export CMAKE="$(find_cmake_latest)"
10191020
cd build
10201021
$CMAKE ..
10211022
$CMAKE --build . -- -j 8

0 commit comments

Comments
 (0)