Fix Windows and allow static linking

This commit is contained in:
Zachary Hall 2023-11-17 13:12:01 -08:00
parent 5c6e278bd5
commit 4f57be188e
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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')