cmake docs add note about prefix 29/3129/1
authorAndy Green <andy.green@linaro.org>
Tue, 19 Feb 2013 02:26:39 +0000 (10:26 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:37 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
README.build

index 68f4b4a..2787bde 100644 (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