workaround, lz4 is not returned by pkg_check_modules(), hardcode it now + hugin-flann-lz4.patch OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=117
13 lines
423 B
Diff
13 lines
423 B
Diff
Index: hugin-2021.0.0/CMakeModules/FindFLANN.cmake
|
|
===================================================================
|
|
--- hugin-2021.0.0.orig/CMakeModules/FindFLANN.cmake
|
|
+++ hugin-2021.0.0/CMakeModules/FindFLANN.cmake
|
|
@@ -11,6 +11,7 @@
|
|
if(UNIX)
|
|
find_package(PkgConfig QUIET)
|
|
pkg_check_modules(FLANN flann)
|
|
+ set(FLANN_LIBRARIES "lz4;${FLANN_LIBRARIES}")
|
|
else()
|
|
find_path(FLANN_INCLUDE_DIRS flann/flann.hpp)
|
|
|