Update README.md

This commit is contained in:
Stephen Seo 2018-05-21 16:49:37 +09:00
parent 8f35cf4fa4
commit 08433bcb4e

View file

@ -6,11 +6,11 @@ Create a build directory.
Generate makefile with CMake.
`cd build`
`cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=True ../src`
`cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=True ../src`
Build the project.
`make`
Optionally install the project to where CMAKE\_INSTALL\_PREFIX was set.
`make install`
Optionally install the project to where you want to.
`make DESTDIR=install_here install`