Skip to content

Commit

Permalink
Disable OPENCV_SKIP_PYTHON_LOADER option to ensure that .pyi files ar…
Browse files Browse the repository at this point in the history
…e installed
  • Loading branch information
traversaro authored Oct 4, 2024
1 parent c1a0143 commit 3b634c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ cmake -LAH -G "Ninja"
-DPYTHON_LIBRARY=%UNIX_PREFIX%/libs/%PY_LIB% ^
-DPYTHON_NUMPY_INCLUDE_DIRS=%UNIX_NUMPY_INCLUDE% ^
-DBUILD_opencv_python3=1 ^
-DOPENCV_SKIP_PYTHON_LOADER=1 ^
-DOPENCV_SKIP_PYTHON_LOADER=0 ^
-DPYTHON3_EXECUTABLE=%UNIX_PREFIX%/python ^
-DPYTHON3_INCLUDE_DIR=%UNIX_PREFIX%/include ^
-DPYTHON3_NUMPY_INCLUDE_DIRS=%UNIX_NUMPY_INCLUDE% ^
Expand Down
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cmake -LAH -G "Ninja" \
-DPYTHON_EXECUTABLE=${PYTHON} \
-DPYTHON_INCLUDE_DIR=${INC_PYTHON} \
-DPYTHON_LIBRARY=${LIB_PYTHON} \
-DOPENCV_SKIP_PYTHON_LOADER=1 \
-DOPENCV_SKIP_PYTHON_LOADER=0 \
-DZLIB_INCLUDE_DIR=${PREFIX}/include \
-DZLIB_LIBRARY_RELEASE=${PREFIX}/lib/libz${SHLIB_EXT} \
-DJPEG_INCLUDE_DIR=${PREFIX}/include \
Expand Down

0 comments on commit 3b634c1

Please sign in to comment.