Merge branch 'patch-1' into 'master'
fix minor typos See merge request CLIUtils/modern-cmake!2
This commit is contained in:
commit
e827140a70
@ -38,7 +38,7 @@ You can also build CMake on any system, it's pretty easy, but binaries are faste
|
||||
|
||||
## Pip
|
||||
|
||||
This is also provide as an official package, maintained by the authors of CMake at KitWare. It's a rather new method, and might fail on some systems (Alpine isn't supported last I checked, but that has CMake 3.8), but works really well when it works (like on Travis CI). If you have pip (Python's package installer), you can do:
|
||||
This is also provided as an official package, maintained by the authors of CMake at KitWare. It's a rather new method, and might fail on some systems (Alpine isn't supported last I checked, but that has CMake 3.8), but works really well when it works (like on Travis CI). If you have pip (Python's package installer), you can do:
|
||||
|
||||
```term
|
||||
gitbook $ pip install cmake
|
||||
@ -54,7 +54,7 @@ Personally, on Linux, I put versions of CMake in folders, like `/opt/cmake312` o
|
||||
{% endhint %}
|
||||
|
||||
[^1]: I assume this is obvious, but you are downloading and running code, which exposes you to a man in the middle attack. If you are in a critical environment, you should download the file and check the checksum. (And, no, simply doing this in two steps does not make you any safer, only a checksum is safer).
|
||||
[^2]: If don't have a `.local` in your home directory, it's easy to start. Just make the folder, then add `export PATH="$HOME/.local/bin:$PATH"` to your `.bashrc` or `.bash_profile` or `.profile` file in your home directory. Now you can install any packages you build to `-DCMAKE_INSTALL_PREFIX=~/.local` instead of `/usr/local`!
|
||||
[^2]: If you don't have a `.local` in your home directory, it's easy to start. Just make the folder, then add `export PATH="$HOME/.local/bin:$PATH"` to your `.bashrc` or `.bash_profile` or `.profile` file in your home directory. Now you can install any packages you build to `-DCMAKE_INSTALL_PREFIX=~/.local` instead of `/usr/local`!
|
||||
|
||||
[cmake-download]: https://cmake.org/download/
|
||||
[LMod]: http://lmod.readthedocs.io/en/latest/
|
||||
|
Loading…
x
Reference in New Issue
Block a user