diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-11 11:36:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-11 16:10:04 +0200 |
commit | 1a163bdb8b4878f456fb04b33978a92f3fcd8e91 (patch) | |
tree | 52d44049003bc1a338244282f8f77a1b4eaf6f47 /meson.build | |
parent | cf19f8287547c523f65879b9e9477950c81a9eed (diff) | |
download | fiv-1a163bdb8b4878f456fb04b33978a92f3fcd8e91.tar.gz fiv-1a163bdb8b4878f456fb04b33978a92f3fcd8e91.tar.xz fiv-1a163bdb8b4878f456fb04b33978a92f3fcd8e91.zip |
Resolve a few issues with MSYS2 cross-builds
- Fix launching of subprocesses (missing gspawn helpers).
- Discard unused GSettings schemas.
- Make the program find its user guide.
- Bundle a somewhat suboptimal version of ExifTool.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d646a2a..93c982c 100644 --- a/meson.build +++ b/meson.build @@ -77,6 +77,10 @@ conf.set_quoted('PROJECT_NAME', meson.project_name()) conf.set_quoted('PROJECT_VERSION', meson.project_version()) conf.set_quoted('PROJECT_NS', application_ns) conf.set_quoted('PROJECT_DOCDIR', get_option('prefix') / docdir) +if host_machine.system() == 'windows' + conf.set_quoted('PROJECT_DOCDIR', docdir) +endif + conf.set('HAVE_JPEG_QS', libjpegqs.found()) conf.set('HAVE_LCMS2', lcms2.found()) conf.set('HAVE_LIBRAW', libraw.found()) @@ -86,6 +90,7 @@ conf.set('HAVE_XCURSOR', xcursor.found()) conf.set('HAVE_LIBHEIF', libheif.found()) conf.set('HAVE_LIBTIFF', libtiff.found()) conf.set('HAVE_GDKPIXBUF', gdkpixbuf.found()) + configure_file( output : 'config.h', configuration : conf, |