This repository was archived by the owner on Dec 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ jobs:
157157 if : runner.os != 'Windows'
158158 with :
159159 path : ${{ github.workspace }}/wxwidgets-install
160- key : ${{ matrix.config.os }}-${{ matrix.config.arch }}-${{ matrix.config.wxwidgets_git_url }}-${{ matrix.config.wxwidgets_git_ref }}
160+ key : ${{ matrix.config.os }}-${{ matrix.config.arch }}-${{ matrix.config.wxwidgets_git_url }}-${{ matrix.config.wxwidgets_git_ref }}-
161161
162162 # FIXME: use wxWidgets from vcpkg for all OSes when bugs are fixed for Linux and macOS
163163 # https://github.com/microsoft/vcpkg/pull/17111
@@ -168,7 +168,8 @@ jobs:
168168 git clone --recurse-submodules ${{ matrix.config.wxwidgets_git_url }}
169169 cd wxWidgets
170170 git checkout ${{ matrix.config.wxwidgets_git_ref }}
171- cmake -G Ninja -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/wxwidgets-install \
171+ # vcpkg builds libraries statically, so build wxWidgets statically too.
172+ cmake -G Ninja -D BUILD_SHARED_LIBS=OFF -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/wxwidgets-install \
172173 -S . -B cmake_build
173174 cmake --build cmake_build
174175 cmake --install cmake_build
You can’t perform that action at this time.
0 commit comments