doc: add instructions to pass args to cmake (#1317)
Adds a small note to the README for passing arguments to cmake during the build by using the `CMAKE_ARGS` environment variable
This commit is contained in:
parent
68de588f21
commit
397fb2eb7f
|
@ -19,11 +19,17 @@ After building is finished, you can either install via `make install`:
|
|||
or by auto-generating a .deb or .rpm package, for easy removal later on:
|
||||
|
||||
make package
|
||||
|
||||
|
||||
sudo dpkg -i awesome-x.y.z.deb
|
||||
# or
|
||||
sudo rpm -Uvh awesome-x.y.z.rpm
|
||||
|
||||
NOTE: awesome uses [`cmake`](https://cmake.org) to build. In case you want to
|
||||
pass arguments to cmake, please use the `CMAKE_ARGS` environment variable. For
|
||||
instance:
|
||||
|
||||
CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/opt/awesome" make
|
||||
|
||||
### Build dependencies
|
||||
|
||||
Awesome has the following dependencies (besides a more-or-less standard POSIX
|
||||
|
|
Loading…
Reference in New Issue