mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
522 B
18 lines
522 B
@ECHO OFF |
|
SETLOCAL EnableDelayedExpansion |
|
|
|
SET "SCRIPT_DIR=%~dp0" |
|
|
|
IF NOT DEFINED OPENCV_QUIET ( ECHO Setting vars for OpenCV @OPENCV_VERSION@ ) |
|
SET "PATH=!SCRIPT_DIR!\@OPENCV_LIB_RUNTIME_DIR_RELATIVE_CMAKECONFIG@;%PATH%" |
|
|
|
IF NOT DEFINED OPENCV_SKIP_PYTHON ( |
|
SET "PYTHONPATH_OPENCV=!SCRIPT_DIR!\@OPENCV_PYTHON_DIR_RELATIVE_CMAKECONFIG@" |
|
IF NOT DEFINED OPENCV_QUIET ( ECHO Append PYTHONPATH: !PYTHONPATH_OPENCV! ) |
|
SET "PYTHONPATH=!PYTHONPATH_OPENCV!;%PYTHONPATH%" |
|
) |
|
|
|
IF NOT [%1] == [] ( |
|
%* |
|
EXIT /B !errorlevel! |
|
)
|
|
|