diff options
author | Vojtěch Bubník <5830947+bubnikv@users.noreply.github.com> | 2021-02-10 13:36:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 13:36:10 +0300 |
commit | 3472c8d1e49b63de38940fa2a666a9396d91ba49 (patch) | |
tree | c71a69a5188dbfde42ed26df84b9b7a798215570 /doc | |
parent | eaf6e0dca7c54ba71056a4bc0fd15450e40b81da (diff) | |
parent | f5ccd7bd3da89f2fd25e8cb106816ad2a0ed6822 (diff) |
Merge pull request #5042 from cpinamtz/feature/build_on_linux
Make clearer Linux instructions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/How to build - Linux et al.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/How to build - Linux et al.md b/doc/How to build - Linux et al.md index a8f2441be..b23fef772 100644 --- a/doc/How to build - Linux et al.md +++ b/doc/How to build - Linux et al.md @@ -7,7 +7,7 @@ as the versions listed - generally versions available on conservative Linux dist Perl is not required any more. -In a typical situation, one would open a command line, go to the PrusaSlicer sources, create a directory called `build` or similar, +In a typical situation, one would open a command line, go to the PrusaSlicer sources (**the root directory of the repository**), create a directory called `build` or similar, `cd` into it and call: cmake .. @@ -37,7 +37,7 @@ To do this, go to the `deps` directory, create a `build` subdirectory (or the li where the target destdir is a directory of your choosing where the dependencies will be installed. You can also omit the `DESTDIR` option to use the default, in that case the `destdir` will be created inside the `build` directory where `cmake` is run. -To pass the destdir path to the top-level PrusaSlicer CMake script, use the `CMAKE_PREFIX_PATH` option along with turning on `SLIC3R_STATIC`: +Once the dependencies have been built, in order to pass the destdir path to the **top-level** PrusaSlicer `CMakeLists.txt` script, use the `CMAKE_PREFIX_PATH` option along with turning on `SLIC3R_STATIC`: cmake .. -DSLIC3R_STATIC=1 -DCMAKE_PREFIX_PATH=<path to destdir>/usr/local |