aboutsummaryrefslogtreecommitdiff
path: root/README.build
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2013-02-26 11:58:45 +0800
committerAndy Green <andy.green@linaro.org>2013-02-26 11:58:45 +0800
commit975423c949793dc33bd5c58d651b8fbd861bd893 (patch)
tree96b077c48ac7270b775180563f8363a42e8fd25f /README.build
parente46043cb8c251b98a8143b854af941a727235148 (diff)
downloadlibwebsockets-975423c949793dc33bd5c58d651b8fbd861bd893.tar.gz
cmake lib lib64 problem
As discussed here, there's a semi-standardized way to inform cmake that the install target wants its libs in .../lib64 https://code.google.com/p/bullet/issues/detail?id=174 this patch adds the necessary fiddling Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'README.build')
-rw-r--r--README.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.build b/README.build
index 64d98cf6..3994c9cc 100644
--- a/README.build
+++ b/README.build
@@ -283,12 +283,19 @@ Building on Unix:
the source directory of libwebsockets containing the CMakeLists.txt project
file. All examples in this file assumes you use "..")
+ NOTE2
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
+ NOTE3
+ On machines that want libraries in lib64, you can also add the
+ following to the cmake line
+
+ -DLIB_SUFFIX=64
+
4. Finally you can build using the generated Makefile:
make