Skip to content

Commit

Permalink
Fix meson version
Browse files Browse the repository at this point in the history
  • Loading branch information
mm2 committed Jan 17, 2025
1 parent 0680de1 commit be0bddc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions fuzzers/fuzzers.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//---------------------------------------------------------------------------------
//
// Little Color Management System
// Copyright (c) 1998-2024 Marti Maria Saguer
// Copyright (c) 1998-2025 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -62,7 +62,7 @@ void ReadAllRAWTags(cmsHPROFILE h)
}
}

// read and decode information
// Read and decode information
static
void FetchInfo(cmsHPROFILE h, cmsInfoType Info)
{
Expand Down Expand Up @@ -140,12 +140,12 @@ void ReadAllLUTS(cmsHPROFILE h)
cmsDetectDestinationBlackPoint(&Black, h, INTENT_RELATIVE_COLORIMETRIC, 0);
cmsDetectDestinationBlackPoint(&Black, h, INTENT_SATURATION, 0);
cmsDetectDestinationBlackPoint(&Black, h, INTENT_ABSOLUTE_COLORIMETRIC, 0);

cmsDetectTAC(h);
}


// Create PostScript resources

static
void GenerateCSA(cmsHPROFILE hProfile)
{
Expand Down
7 changes: 5 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
project(
'Little-CMS',
'c',
version: '2.16',
meson_version: '>=0.63.0',
version: '2.17',
meson_version: '>=0.49.0',
# default_options: ['c_std=c99']
)

Expand Down Expand Up @@ -108,7 +108,10 @@ win = import('windows')

subdir('include')
subdir('src')

if get_option('tests').enabled()
subdir('testbed')
endif

if get_option('utils')
subdir('utils')
Expand Down
2 changes: 2 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
option('tests', type: 'feature', value: 'enabled', yield: true, description: 'Enable or disable tests')

option('jpeg', type: 'feature', value: 'auto', description: 'Use JPEG')
option('tiff', type: 'feature', value: 'auto', description: 'Use LibTiff')

Expand Down

0 comments on commit be0bddc

Please sign in to comment.