diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75b0e01..62e0d5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,11 @@ jobs: - name: Install dependencies run: | choco install cmake --version=3.31.3 - choco install opencv --version=4.10.0 + mkdir %temp%\opencv + choco install opencv --version=4.10.0 --package-parameters '/InstallationPath:%temp%\opencv' - name: CMake Configure & Generate - run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" + run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -DCMAKE_PREFIX_PATH=%temp%\opencv - name: Build run: cmake --build build --config Release