1
0
Fork 0
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:
Andy Green 2013-02-19 10:26:39 +08:00
parent 455e45150a
commit 799ecbf773

View file

@ -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