Merged
Conversation
Agent-Logs-Url: https://github.com/mm2/Little-CMS/sessions/c3b10fbe-515c-4c9d-b458-fa1376b3c218 Co-authored-by: mm2 <199618+mm2@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add building of tiffdiff utility to CMake scripts
Add tiffdiff to CMake build system
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tiffdiffwas built via the Visual Studio project files but omitted entirely from the CMake build, leaving it unbuildable on non-MSVC toolchains.Changes
cmake/Lcms2Options.cmake— AddedLCMS2_BUILD_TIFFDIFFoption (ON by default), consistent with the existingLCMS2_BUILD_TIFICC/LCMS2_BUILD_JPGICCpattern.cmake/Lcms2Tools.cmake— Added an optionaltiffdiffbuild block after thetificcblock. Shares the same TIFF dependency detection (LCMS2_WITH_TIFF/find_package(TIFF)) and links againstTIFF::TIFF(or legacyTIFF_LIBRARIES). The target is registered inLCMS2_TOOL_TARGETS, so it is picked up by the packaging module for installation automatically.No changes outside the two CMake files.