Skip to content

Commit

Permalink
Add flann_INCLUDE_PATH
Browse files Browse the repository at this point in the history
flann_INCLUDE_PATH not appear in flann 1.9.2 but is needed in the HDILib CMake
  • Loading branch information
bldrvnlw authored May 15, 2024
1 parent a2780b6 commit 4edf803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def generate(self):
tc.variables[
"CMAKE_MSVC_RUNTIME_LIBRARY"
] = "MultiThreaded$<$<CONFIG:Debug>: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")
Expand Down

0 comments on commit 4edf803

Please sign in to comment.