mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #468 from ABrambleNinja/patch-1
For me, installing check wasn't enough. check-devel was required (Fedora 19)
This commit is contained in:
commit
e6ac93eff7
10
INSTALL.md
10
INSTALL.md
|
@ -23,7 +23,7 @@ On Fedora:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yum groupinstall "Development Tools"
|
yum groupinstall "Development Tools"
|
||||||
yum install libtool autoconf automake libconfig-devel ncurses-devel cmake check
|
yum install libtool autoconf automake libconfig-devel ncurses-devel cmake check check-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that `libconfig-dev` should be >= 1.4.
|
Note that `libconfig-dev` should be >= 1.4.
|
||||||
|
@ -61,8 +61,8 @@ mkdir build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
```
|
```
|
||||||
Advance cmake options:
|
Advance cmake options:
|
||||||
- `-DSHARED_TOXCORE=ON` (default `OFF`) — Build Core as a shared library.
|
- `-DSHARED_TOXCORE=ON` (default `OFF`) <EFBFBD> Build Core as a shared library.
|
||||||
- `-DUSE_NACL=ON` (default `OFF`) — Use NaCl library instead of libsodium.
|
- `-DUSE_NACL=ON` (default `OFF`) <EFBFBD> Use NaCl library instead of libsodium.
|
||||||
|
|
||||||
Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only.
|
Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only.
|
||||||
|
|
||||||
|
@ -150,8 +150,8 @@ mkdir build && cd build
|
||||||
cmake -G "MinGW Makefiles" ..
|
cmake -G "MinGW Makefiles" ..
|
||||||
```
|
```
|
||||||
Advance cmake options:
|
Advance cmake options:
|
||||||
- `-DSHARED_TOXCORE=ON` (default OFF) — Build Core as a shared library.
|
- `-DSHARED_TOXCORE=ON` (default OFF) <EFBFBD> Build Core as a shared library.
|
||||||
- `-DSHARED_LIBSODIUM=ON` (default OFF) — Link libsodium as a shared library.
|
- `-DSHARED_LIBSODIUM=ON` (default OFF) <EFBFBD> Link libsodium as a shared library.
|
||||||
|
|
||||||
Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only.
|
Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user