From 9b3953090204df334f3926c717bb54a90e9b4f79 Mon Sep 17 00:00:00 2001 From: fengzero Date: Mon, 9 May 2022 09:14:29 +0000 Subject: [PATCH] doc: update install-dependencies --- Install-dependencies.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Install-dependencies.md b/Install-dependencies.md index f6e25adb..62a22ca1 100644 --- a/Install-dependencies.md +++ b/Install-dependencies.md @@ -16,7 +16,7 @@ $ make && sudo make install ```shell $ git clone -b 0.2.5 https://github.com/yaml/libyaml.git $ cd libyaml && mkdir build && cd build -$ cmake DBUILD_SHARED_LIBS=1 .. && make +$ cmake DBUILD_SHARED_LIBS=OFF .. && make $ sudo make install ``` @@ -24,28 +24,28 @@ $ sudo make install ```shell $ git clone -b v2.14 https://github.com/akheron/jansson.git $ cd jansson && mkdir build && cd build -$ cmake .. && make && sudo make install +$ cmake -DJANSSON_BUILD_DOCS=OFF -DJANSSON_EXAMPLES=OFF ..&& make && sudo make install ``` [nng](https://github.com/neugates/nng.git) ```shell $ git clone https://github.com/neugates/nng.git $ cd nng && mkdir build && cd build -$ cmake .. && make && sudo make install +$ cmake -DBUILD_SHARED_LIBS=OFF -DNNG_TESTS=OFF .. && make && sudo make install ``` [jwt](https://github.com/benmcollins/libjwt.git) ```shell $ git clone -b v1.13.1 https://github.com/benmcollins/libjwt.git $ cd libjwt && mkdir build && cd build -$ cmake .. && make && sudo make install +$ cmake -DENABLE_PIC=ON -DBUILD_SHARED_LIBS=OFF .. && make && sudo make install ``` [MQTT-C](https://github.com/neugates/MQTT-C.git) ```shell $ git clone https://github.com/neugates/MQTT-C.git $ cd MQTT-C && mkdir build && cd build -$ cmake .. && make && sudo make install +$ cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DMQTT_C_OpenSSL_SUPPORT=ON -DMQTT_C_EXAMPLES=OFF .. && make && sudo make install ``` [googletest](https://github.com/google/googletest.git)