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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user