Repository navigation
Conversation
libzip enables its GnuTLS and MbedTLS crypto backends whenever it finds them, so on a host with libgnutls28-dev the exported zip target links GnuTLS::GnuTLS and Nettle::Nettle. Consumers that load that export set, such as find_package(ITK) with ITKTractographyTRX, then fail to configure because those targets are not defined. TRX only uses deflate, so turn the backends off like the other optional libzip dependencies. Fixes tee-ar-ex#60 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 19, 2026
Open
This branch has not been deployed
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.
Turns off libzip's GnuTLS and MbedTLS backends in the vendored build, next to the bzip2, LZMA, zstd and OpenSSL settings already there. TRX only uses deflate, so libzip needs no encryption.
Without this, on a host with
libgnutls28-dev, the exportedziptarget linksGnuTLS::GnuTLSandNettle::Nettle. Consumers of that export set then fail to configure, for examplefind_package(ITK)with ITKTractographyTRX in the ANTs SuperBuild. Details in #60.Fixes #60
Testing (Linux, GCC 15, GnuTLS 3.8.3 installed,
-DTRX_BUILD_TESTS=ON):mainbuild.ninjactestThe same two settings, applied in the ITK build, let ANTs configure, build and pass its tests with TractographyTRX on.
🤖 Generated with Claude Code