diff --git a/conanfile.py b/conanfile.py index a6534df..ba4d105 100644 --- a/conanfile.py +++ b/conanfile.py @@ -139,6 +139,7 @@ def generate(self): tc.variables[ "CMAKE_MSVC_RUNTIME_LIBRARY" ] = "MultiThreaded$<$:Debug>DLL" + tc.variables["flann_INCLUDE_DIR"] = Path(self.deps_cpp_info["flann"].rootpath, "include").as_posix() print("Call toolchain generate") tc.generate() self.add_package_cmake_paths("flann", "lib/cmake")