Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Make life a little easier on windows
  • Loading branch information
alxvth authored Sep 17, 2024
1 parent 79e4dd0 commit 765e7e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Flann can be built from the source but we recommend vcpkg to install it, especia

On Windows with vcpkg
```bash
.\vcpkg install flann:x64-windows-static
.\vcpkg install flann:x64-windows-static-md
```
When configuring cmake make sure to setup vcpkg with CMAKE_TOOLCHAIN_FILE (`PATH_TO/vcpkg/scripts/buildsystems/vcpkg.cmake`) and VCPKG_TARGET_TRIPLET `x64-windows-static`
When configuring cmake make sure to setup vcpkg with CMAKE_TOOLCHAIN_FILE (`PATH_TO/vcpkg/scripts/buildsystems/vcpkg.cmake`) and use the same VCPKG_TARGET_TRIPLET as for installing flann, here `x64-windows-static-md`.

On Linux with e.g.
```bash
Expand Down

0 comments on commit 765e7e2

Please sign in to comment.