diff options
author | Marti Maria <marti.maria@littlecms.com> | 2023-04-23 17:54:36 +0200 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2023-04-23 17:54:36 +0200 |
commit | 88b4c773d06368f1ecdd4b4ba1b75e1c6694531d (patch) | |
tree | 3115d0faafbf38139fcb82ed31a1109a8d269303 /plugins | |
parent | b3144b8018a26df755b46a02583ff6ea466f532c (diff) | |
download | lcms2-88b4c773d06368f1ecdd4b4ba1b75e1c6694531d.tar.gz |
add a way to get segments from tone curves
- Add a way to get segments from tone curves
- Add a check for windows in meson file of fast-float plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/fast_float/src/meson.build | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/fast_float/src/meson.build b/plugins/fast_float/src/meson.build index e907c3b..c53639c 100644 --- a/plugins/fast_float/src/meson.build +++ b/plugins/fast_float/src/meson.build @@ -19,13 +19,16 @@ lcms2_fast_float_sources = files( lcms2_fast_float_incdir = include_directories('../include', '.') if host_machine.system() == 'windows' - lcms2_fast_float_rc = configure_file( - input: 'lcms2_fast_float.rc.in', - configuration: version_cfg, - output: 'lcms2_fast_float.rc', - ) + if get_option('default_library') == 'shared' - lcms2_fast_float_sources += win.compile_resources(lcms2_fast_float_rc) + lcms2_fast_float_rc = configure_file( + input: 'lcms2_fast_float.rc.in', + configuration: version_cfg, + output: 'lcms2_fast_float.rc', + ) + + lcms2_fast_float_sources += win.compile_resources(lcms2_fast_float_rc) + endif endif liblcms2_fast_float = library( |