From 799ecbf773c005e2dbcc211511e5ca69e80f351e Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 19 Feb 2013 10:26:39 +0800 Subject: [PATCH] cmake docs add note about prefix Signed-off-by: Andy Green --- README.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.build b/README.build index 68f4b4aa..2787bdee 100644 --- a/README.build +++ b/README.build @@ -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