Skip to content

Commit 200a5df

Browse files
committed
ln cmake
1 parent 7b6fae9 commit 200a5df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/opencvsharp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,11 @@ jobs:
133133
script=$(
134134
cat <<'EOS'
135135
set -eux
136+
OpenCV_DIR="${{ github.workspace }}/opencv/lib/cmake/opencv4"
136137
if [[ "${{ matrix.os }}" =~ ^win ]]; then
137138
OpenCV_DIR="${{ github.workspace }}/opencv/${{ matrix.arch }}/vc17/staticlib"
138-
else
139-
OpenCV_DIR="${{ github.workspace }}/opencv/lib/cmake/opencv4"
139+
elif [[ ${{ matrix.os }} == "centos.7" ]]; then
140+
ln -s /usr/bin/cmake3 /usr/bin/cmake
140141
fi
141142
142143
EXTRA_FLAGS=""

0 commit comments

Comments
 (0)