Skip to content

Commit de8b43b

Browse files
authored
Add correct libfzf build commands for Windows
On Windows when using CMake and MSVC the binaries end up in a Release folder. To put the binaries in the correct folder running a install step is required. Fixes: nvim-telescope#118
1 parent 1f08ed6 commit de8b43b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMA
5757
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release' }
5858
```
5959

60+
> **Note:* On Windows you want to replace the `do`, `run`, and `build` command with `cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build`.
61+
> This makes sure the libfzf.dll ends up in the correct directory.
62+
6063
### Make (Linux, MacOS, Windows with MinGW)
6164

6265
This requires `gcc` or `clang` and `make`

0 commit comments

Comments
 (0)