flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

CMakeLists: use imported target for lz4 #516

Closed ghost closed 4 months ago

ghost commented 7 months ago

When cross-compiling, the host path of lz4 is leaked into the cmake config file. We resort to cmake magic to import the target through pkg-config.