build: avoid CMP0046 "dependency target does not exist" #8128

This commit is contained in:
Justin M. Keyes
2018-03-18 23:24:37 +01:00
parent c49dac7cd3
commit 1fb44676cd
2 changed files with 7 additions and 1 deletions

View File

@ -34,11 +34,15 @@ Install from source
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
To install to a non-default location, specify `CMAKE_INSTALL_PREFIX`:
To install to a non-default location, set `CMAKE_INSTALL_PREFIX`:
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/full/path/"
make install
To list all targets:
cmake --build build --target help
See [the wiki](https://github.com/neovim/neovim/wiki/Building-Neovim) for details.
Install from package