Correct Cross compiling commandline

This commit is contained in:
Yongwen Zhuang 2017-02-15 17:58:39 +08:00 committed by Andy Green
parent 186ba832b3
commit 4fd91fa60d

View file

@ -405,7 +405,7 @@ The commandline to configure for cross with this would look like
```
$ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_TOOLCHAIN_FILE=../cross-arm-linux-gnueabihf.cmake \
-DWITHOUT_EXTENSIONS=1 -DWITH_SSL=0
-DLWS_WITHOUT_EXTENSIONS=1 -DLWS_WITH_SSL=0
```
The example shows how to build with no external cross lib dependencies, you
need to provide the cross libraries otherwise.