docs: specify CMAKE_BUILD_TYPE=RelWithDebInfo in README (#18859)

There have been complaints about the installation instructions being
inconsistent around the build type e.g.
https://github.com/neovim/neovim/issues/18670#issuecomment-1146468741.
Use CMAKE_BUILD_TYPE for both examples in the README.
This commit is contained in:
dundargoc 2022-06-04 21:15:06 +02:00 committed by GitHub
parent 79a194a278
commit 9ce720a601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ After installing the dependencies, run the following command.
To install to a non-default location:
make CMAKE_INSTALL_PREFIX=/full/path/
make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/
make install
CMake hints for inspecting the build: