E524 Prefer CMake Config when looking for Flann by StefanBruens · Pull Request #2147 · openMVG/openMVG · GitHub
[go: up one dir, main page]

Skip to content

Prefer CMake Config when looking for Flann#2147

Merged
pmoulon merged 1 commit intoopenMVG:developfrom
StefanBruens:prefer_flann_config
Feb 2, 2023
Merged

Prefer CMake Config when looking for Flann#2147
pmoulon merged 1 commit intoopenMVG:developfrom
StefanBruens:prefer_flann_config

Conversation

@StefanBruens
Copy link
Contributor

Latest flann may link to e.g. liblz4, and the FindFlann module does not handle transitive lib dependencies.

In case external flann is required try the upstream CMake Config first, and fall back to the legacy lookup.

Fixes #1265.

Latest flann may link to e.g. liblz4, and the FindFlann module does not
handle transitive lib dependencies.

In case external flann is required try the upstream CMake Config first,
and fall back to the legacy lookup.

Fixes #1265.
@pmoulon
Copy link
8000
Member
pmoulon commented Jan 20, 2023

Thank you for your PR @StefanBruens.
I kick off the CI, so we will see if everything is looking good on compilation and unit test (but not sure I installed FLANN in https://github.com/openMVG/openMVG/blob/develop/.github/workflows/compile_and_run_test_external_deps.yml)
Nit: We are using FLANN in header only mode

@pmoulon pmoulon self-assigned this Feb 2, 2023
@pmoulon pmoulon merged commit 0e35f8d into openMVG:develop Feb 2, 2023
@pmoulon
Copy link
Member
pmoulon commented Feb 2, 2023

@StefanBruens Thx you for your contribution. Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FindFlann.cmake missing linker flag -llz4.

2 participants

0