Skip to content

Commit

Permalink
docs(README): Fix cmake install instruction (#130)
Browse files Browse the repository at this point in the history
Recent versions of cmake seem to affect how redundant installation
directives are handled, i.e. install source and destination are the
same. While previously they went through as a noop, they now seem
to fail as reproduced in #120.
  • Loading branch information
ditsuke committed Jul 1, 2024
1 parent 9ef21b2 commit 935bedf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ This requires:
#### vim-plug

```viml
Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release' }
```

#### packer.nvim

```lua
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release' }
```

#### lazy.nvim

```lua
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release' }
```

### Make (Linux, MacOS, Windows with MinGW)
Expand All @@ -79,7 +79,7 @@ use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }
```

## Telescope Setup and Configuration:
## Telescope Setup and Configuration

```lua
-- You dont need to set any of these options. These are the default ones. Only
Expand Down

0 comments on commit 935bedf

Please sign in to comment.