Skip to content

Commit 5998c74

Browse files
committed
Fix windows cmake, update ccache-action
1 parent 5f0123a commit 5998c74

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
107107
- name: Setup ccache
108108
if: runner.os != 'Windows' && inputs.build_type == 'Debug'
109-
uses: hendrikmuhs/ccache-action@v1.2.1
109+
uses: hendrikmuhs/ccache-action@v1.2.18
110110
with:
111111
key: ${{ matrix.os }}-qt${{ matrix.qt_ver }}
112112

@@ -128,7 +128,7 @@ jobs:
128128
129129
- name: Retrieve ccache cache (Windows)
130130
if: runner.os == 'Windows' && inputs.build_type == 'Debug'
131-
uses: actions/cache@v4.2.3
131+
uses: actions/cache@v3.4.3
132132
with:
133133
path: '${{ github.workspace }}\.ccache'
134134
key: ${{ matrix.os }}-qt${{ matrix.qt_ver }}

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cmake_minimum_required(VERSION 3.15) # minimum version required by QuaZip
22

3-
if(WIN32)
4-
# In Qt 5.1+ we have our own main() function, don't autolink to qtmain on Windows
5-
cmake_policy(SET CMP0020 OLD)
6-
endif()
3+
# if(WIN32)
4+
# # In Qt 5.1+ we have our own main() function, don't autolink to qtmain on Windows
5+
# cmake_policy(SET CMP0020 OLD)
6+
# endif()
77

88
project(Launcher)
99

0 commit comments

Comments
 (0)