1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-02-05 13:40:11 +00:00

Added cmake option CMAKE_BUILD_TYPE=RELEASE for usage of correct documentroot

This commit is contained in:
jcorporation 2018-05-10 23:01:45 +01:00
parent 23d3807fbc
commit fd0f2c67ed

View File

@ -22,7 +22,7 @@ Unix Build Instructions
1. install dependencies. cmake, libmpdclient (dev), and OpenSSL (dev) are available from all major distributions. 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``` 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``` 4. build ```make```
5. install ```sudo make install``` or just run with ```./ympd``` 5. install ```sudo make install``` or just run with ```./ympd```