Skip to content

Commit cf7e588

Browse files
committed
Attempt to fix zlib on windows
1 parent e839bd7 commit cf7e588

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/cmake_windows.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
uses: jurplel/install-qt-action@v4
1616
with:
1717
version: '6.6.*'
18+
- name Install zlib
19+
- run: |
20+
pkg-config --cflags zlib
21+
pkg-config --libs zlib
1822
- name: Configure
1923
run: cmake -B windows -DCMAKE_BUILD_TYPE=Release
2024
- name: Build

game/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FetchContent_Declare(
1414

1515
FetchContent_MakeAvailable(nlohmann_json)
1616

17-
find_package(ZLIB)
17+
find_package(ZLIB REQUIRED)
1818

1919
set(
2020
SOURCE_FILES

0 commit comments

Comments
 (0)