Skip to content

Commit

Permalink
3rdParty: correct BuildZlib.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Oct 12, 2023
1 parent 93b65e1 commit 16c4128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
- name: Build zlib
run: |
cmake -S "3rdParty\zlib" -B "3rdParty\zlib\build" -A Win32 `
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW `
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded `
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
cmake --build "3rdParty\zlib\build" --config Release
- name: Build Spore-ModAPI
run: |
Expand Down
4 changes: 1 addition & 3 deletions 3rdParty/BuildZlib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ mkdir "%ZLIB_DIR%\build"
set PATH=%PATH%;C:\Program Files\CMake\bin

cmake -S "%ZLIB_DIR%" -B "%ZLIB_DIR%\build" -A Win32 ^
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW ^
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded ^
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded

cmake --build "%ZLIB_DIR%\build" --config Release

0 comments on commit 16c4128

Please sign in to comment.