Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
disable all executables
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Sep 24, 2023
1 parent 987ac09 commit e258389
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mingw-w64-opencv/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ build() {

export OpenEXR_HOME=${MINGW_PREFIX}
export OpenBLAS_HOME=${MINGW_PREFIX}
export LIBS="-lsharpyuv"

MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DPYTHON2_PACKAGES_PATH=;-DPYTHON3_PACKAGES_PATH=" \
${MINGW_PREFIX}/bin/cmake.exe -Wno-dev \
Expand Down Expand Up @@ -125,7 +124,9 @@ build() {
-DBUILD_opencv_python3=OFF \
-DOPENCV_PYTHON_SKIP_DETECTION=ON \
-DOPENCV_GENERATE_PKGCONFIG=ON \
-DCMAKE_EXE_LINKER_FLAGS="-lwebp -lsharpyuv" \
-DBUILD_opencv_apps=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_EXAMPLES=OFF
../${_realname}-${pkgver}

${MINGW_PREFIX}/bin/cmake --build .
Expand Down

0 comments on commit e258389

Please sign in to comment.