diff --git a/README.md b/README.md index 1e2d538d27..df97461e4b 100644 --- a/README.md +++ b/README.md @@ -51,11 +51,11 @@ mkdir build Run cmake command inside build directory to configure rlottie. ``` cd build -cmake -DLIB_INSTALL_DIR=/usr/lib .. +cmake .. -# install to a different prefix. eg ~/test/lib +# install in a different path. eg ~/test/usr/lib -cmake -DCMAKE_INSTALL_PREFIX=~/test -DLIB_INSTALL_DIR=lib .. +cmake -DCMAKE_INSTALL_PREFIX=~/test .. ``` Run make to build rlottie