Fix Windows and allow static linking
This commit is contained in:
parent
5c6e278bd5
commit
4f57be188e
2 changed files with 3 additions and 2 deletions
2
.github/workflows/win.yml
vendored
2
.github/workflows/win.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
msystem: UCRT64
|
msystem: UCRT64
|
||||||
update: true
|
update: true
|
||||||
install: git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-imagemagick mingw-w64-ucrt-x86_64-meson
|
install: git mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-imagemagick mingw-w64-ucrt-x86_64-meson
|
||||||
- name: Set up build directory
|
- name: Set up build directory
|
||||||
run: meson setup builddir
|
run: meson setup builddir
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
project('graphicsconverter', 'cpp',
|
project('graphicsconverter', 'cpp',
|
||||||
version : '0.1',
|
version : '0.1',
|
||||||
default_options : ['warning_level=3',
|
default_options : ['warning_level=3',
|
||||||
'cpp_std=c++14'])
|
'cpp_std=c++14',
|
||||||
|
'default_library=static'])
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
dependency('Magick++', version : '>=6.9.11')
|
dependency('Magick++', version : '>=6.9.11')
|
||||||
|
|
Loading…
Reference in a new issue