mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake docs add note about prefix
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
455e45150a
commit
799ecbf773
1 changed files with 6 additions and 0 deletions
|
@ -292,6 +292,12 @@ Building on Unix:
|
|||
the source directory of libwebsockets containing the CMakeLists.txt project
|
||||
file. All examples in this file assumes you use "..")
|
||||
|
||||
A common option you may want to give is to set the install path, same
|
||||
as --prefix= with autotools. It defaults to /usr/local.
|
||||
You can do this by, eg
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
|
||||
|
||||
4. Finally you can build using the generated Makefile:
|
||||
|
||||
make
|
||||
|
|
Loading…
Add table
Reference in a new issue