diff --git a/README.md b/README.md index 174d05cee1cfa8bde0aa351ed4c9bf26b5bb4d2e..afa2932196cec4a0f29224e9256d8f10340e6540 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,14 @@ cd <your/path> git clone <repo-link> ``` -Create a directory to build all the source files: -```sh -mkdir build -cd build -``` - -Compile the source files. To change the install directory you must set cmake environment variable `${CMAKE_INSTALL_PREFIX}` (e.g. using command `ccmake ..` before calling `cmake ..`). -Its default value on UNIX-like/Linux systems is "/usr/local". +Compile the source files. ```sh -cmake .. -make +cmake . +make -j4 ``` -Finally, you can install the library (`sudo` is required only if `${CMAKE_INSTALL_PREFIX}` is a system diretory managed by administrator user root). +Finally, you can install the library ```sh make install