summarylogtreecommitdiffstats
path: root/flann.patch
blob: 529b190ecc2ad8003db6bb636cfd49d060ea730c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/openMVG/matching/CMakeLists.txt b/src/openMVG/matching/CMakeLists.txt
index 33cc6dd8..0d0660b8 100644
--- a/src/openMVG/matching/CMakeLists.txt
+++ b/src/openMVG/matching/CMakeLists.txt
@@ -39,7 +39,7 @@ target_link_libraries(openMVG_matching
 if (NOT DEFINED OpenMVG_USE_INTERNAL_FLANN)
 target_link_libraries(openMVG_matching
   PUBLIC
-    ${FLANN_LIBRARIES}
+    ${PC_FLANN_LIBRARIES}
 )
 endif()
 set_target_properties(openMVG_matching PROPERTIES SOVERSION ${OPENMVG_VERSION_MAJOR} VERSION "${OPENMVG_VERSION_MAJOR}.${OPENMVG_VERSION_MINOR}")