vcpkg/ports/flann/export-all-symbols-of-flann-cpp.patch

13 lines
364 B
Diff
Raw Normal View History

diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
index 49c53f0..b9cf76b 100644
--- a/src/cpp/CMakeLists.txt
+++ b/src/cpp/CMakeLists.txt
@@ -52,6 +52,7 @@ set_target_properties(flann_cpp PROPERTIES
VERSION ${FLANN_VERSION}
SOVERSION ${FLANN_SOVERSION}
DEFINE_SYMBOL FLANN_EXPORTS
+ WINDOWS_EXPORT_ALL_SYMBOLS ON
)
if (BUILD_CUDA_LIB)