Skip to content

Commit 5da9f24

Browse files
authored
GHA: fix build type to avoid warning (Windows) (#426)
Fixing: ``` CMake Warning: Manually-specified variables were not used by the project: CMAKE_BUILD_TYPE ``` Follow-up to 9fe363e #400
1 parent 5773979 commit 5da9f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ jobs:
200200
--location --proto-redir =https 'https://curl.se/windows/latest.cgi?p=win64-mingw.tar.xz' | tar --strip-components=1 -xJ --directory=curl
201201
202202
- name: 'cmake configure'
203-
run: cmake -B bld -DCMAKE_BUILD_TYPE=Debug -DCURL_INCLUDE_DIR="$PWD"/curl/include -DCURL_LIBRARY="$PWD"/curl/lib/libcurl.dll.a -DTRURL_WERROR=ON
203+
run: cmake -B bld -DCURL_INCLUDE_DIR="$PWD"/curl/include -DCURL_LIBRARY="$PWD"/curl/lib/libcurl.dll.a -DTRURL_WERROR=ON
204204

205205
- name: 'cmake build'
206-
run: cmake --build bld --verbose
206+
run: cmake --build bld --config Debug --verbose
207207

208208
- name: 'cmake configure log'
209209
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)