Fix issue that cmake install is skipped during windows build (#2029)

Fix windows build
This commit is contained in:
Noisyfox 2023-09-07 23:50:35 +08:00 committed by GitHub
parent dadec13066
commit 7a8f020fcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -21,6 +21,6 @@ cd build
cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./OrcaSlicer" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"
cmake --build . --config Release --target ALL_BUILD -- -m
cd ..
run_gettext.bat
call run_gettext.bat
cd build
cmake --build . --target install --config Release

View file

@ -21,6 +21,6 @@ cd build
cmake .. -G "Visual Studio 17 2022" -A x64 -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./OrcaSlicer" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --target ALL_BUILD -- -m
cd ..
run_gettext.bat
call run_gettext.bat
cd build
cmake --build . --target install --config Release