vcpkg/ports/pcl/find_flann.patch

20 lines
592 B
Diff
Raw Normal View History

diff --git a/cmake/Modules/FindFLANN.cmake b/cmake/Modules/FindFLANN.cmake
index b5739dc95..b5c22a3b0 100644
--- a/cmake/Modules/FindFLANN.cmake
+++ b/cmake/Modules/FindFLANN.cmake
@@ -10,11 +10,11 @@
# look for shared ones
if(FLANN_USE_STATIC)
- set(FLANN_RELEASE_NAME flann_cpp_s)
- set(FLANN_DEBUG_NAME flann_cpp_s-gd)
+ set(FLANN_RELEASE_NAME flann_cpp)
+ set(FLANN_DEBUG_NAME flann_cpp)
else(FLANN_USE_STATIC)
set(FLANN_RELEASE_NAME flann_cpp)
- set(FLANN_DEBUG_NAME flann_cpp-gd)
+ set(FLANN_DEBUG_NAME flann_cpp)
endif(FLANN_USE_STATIC)
find_package(PkgConfig QUIET)