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:
Mikko Valkonen 2016-12-28 13:39:03 +02:00 committed by Daniel Hahler
parent 68de588f21
commit 397fb2eb7f
1 changed files with 7 additions and 1 deletions

View File

@ -24,6 +24,12 @@ or by auto-generating a .deb or .rpm package, for easy removal later on:
# or # or
sudo rpm -Uvh awesome-x.y.z.rpm 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 ### Build dependencies
Awesome has the following dependencies (besides a more-or-less standard POSIX Awesome has the following dependencies (besides a more-or-less standard POSIX