diff --git a/recipe/build-py.sh b/recipe/build-py.sh index 2ad48562..f8c97139 100644 --- a/recipe/build-py.sh +++ b/recipe/build-py.sh @@ -38,6 +38,9 @@ cmake -G "Ninja" \ cmake --build . +# debug +ls -R . + # run actual build cmake -G "Ninja" \ -DOPENCV_PYTHON_PIP_METADATA_INSTALL=ON \ diff --git a/recipe/install-lib.bat b/recipe/install-lib.bat index 1cfa5688..e33dd734 100644 --- a/recipe/install-lib.bat +++ b/recipe/install-lib.bat @@ -3,3 +3,6 @@ cd build cmake --install . if %ERRORLEVEL% neq 0 exit 1 + +cd .. +rmdir /s /q build diff --git a/recipe/install-lib.sh b/recipe/install-lib.sh index 2901ec0d..7bcba0e8 100644 --- a/recipe/install-lib.sh +++ b/recipe/install-lib.sh @@ -3,3 +3,6 @@ set -ex cd build cmake --install . + +cd .. +rm -rf build