1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

addition of POST_BUILD

This commit is contained in:
shyama7004
2025-01-09 20:40:56 +05:30
parent bdb6a968ce
commit 05bc484eed
+1
View File
@@ -139,6 +139,7 @@ if(${PYTHON}_VERSION_STRING VERSION_GREATER "3.6" AND PYTHON_DEFAULT_VERSION VER
# halts on hard error.
add_custom_command(
TARGET copy_opencv_typing_stubs
POST_BUILD
COMMAND ${PYTHON_DEFAULT_EXECUTABLE} ${PYTHON_SOURCE_DIR}/src2/copy_typings_stubs_on_success.py
--stubs_dir ${OPENCV_PYTHON_BINDINGS_DIR}/cv2
--output_dir ${__loader_path}/cv2