diff --git a/doc/src/Build_cmake.rst b/doc/src/Build_cmake.rst index 3473d83143..52a240176f 100644 --- a/doc/src/Build_cmake.rst +++ b/doc/src/Build_cmake.rst @@ -107,7 +107,7 @@ re-compile and relink the LAMMPS executable with ``cmake --build .`` (or ``cmake .`` and then compile again. The included dependency tracking should make certain that only the necessary subset of files are re-compiled. You can also delete compiled objects, libraries and -executables with ``cmake --build . clean`` (or ``make clean``). +executables with ``cmake --build . --target clean`` (or ``make clean``). After compilation, you may optionally install the LAMMPS executable into your system with: