We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea46ff commit c042ca2Copy full SHA for c042ca2
.github/workflows/cmake-multi-platform.yml
@@ -42,8 +42,16 @@ jobs:
42
43
# Configure
44
- name: Configure with CMake
45
- run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
46
-
+ run: |
+ if [[ "$RUNNER_OS" == "Linux" ]]; then
47
+ cmake -B build -S $GITHUB_WORKSPACE \
48
+ 1-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
49
+ -DOpenCV_DIR=/usr/lib/x86_64-linux-gnu/cmake/opencv4
50
+ else
51
52
+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
53
+ fi
54
+
55
# Build
56
- name: Build
57
run: cmake --build build --config ${{ matrix.build_type }} --parallel
0 commit comments