Skip to content

find_package(lz4 CONFIG)#507

Closed
felixf4xu wants to merge 1 commit into
flann-lib:masterfrom
felixf4xu:lz4
Closed

find_package(lz4 CONFIG)#507
felixf4xu wants to merge 1 commit into
flann-lib:masterfrom
felixf4xu:lz4

Conversation

@felixf4xu

Copy link
Copy Markdown

this PR is another try to fix #435, #417, and #403

Different from #400 , this PR tries to find_package lz4 first, if found, include and link lz4, otherwise it falls back to PkgConfig. This is a more cmake friendly change, in my point of view.

This PR is based on the fact that, if lz4 is built and installed from source using cmake, it already has support of cmake, see code https://github.com/lz4/lz4/tree/dev/build/cmake. This PR does not add too much additional cmake script but use upstream of lz4's cmake support.

@dVeon-loch

Copy link
Copy Markdown

Is there any reason why this has not been merged?

@felixf4xu felixf4xu closed this by deleting the head repository Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FLANN : Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) for Windows

3 participants