fix cpack error on windows

This commit is contained in:
lby 2021-11-15 16:53:23 +08:00
parent 9392fc38bc
commit c8ea86bac5
1 changed files with 3 additions and 1 deletions

View File

@ -87,6 +87,8 @@ EXIT /b 0
:clean
IF EXIST "%BASE_PATH%/output" (
cd %BASE_PATH%/output
rd /s /q _CPack_Packages
if EXIST "%BASE_PATH%/output/_CPack_Packages" (
rd /s /q _CPack_Packages
)
)
cd %BASE_PATH%