Added cmake option CMAKE_BUILD_TYPE=RELEASE for usage of correct documentroot

This commit is contained in:
jcorporation committed 2018-05-10 23:01:45 +01:00
1 parent 23d3807fbc
commit fd0f2c67ed
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ Unix Build Instructions
1. install dependencies. cmake, libmpdclient (dev), and OpenSSL (dev) are available from all major distributions.
2. create build directory ```cd /path/to/src; mkdir build; cd build```
3. create makefile ```cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DWITH_DYNAMIC_ASSETS=ON```
3. create makefile ```cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DWITH_DYNAMIC_ASSETS=ON -DCMAKE_BUILD_TYPE=RELEASE```
4. build ```make```
5. install ```sudo make install``` or just run with ```./ympd```