diff --git a/distribution/readme.txt b/distribution/readme.txt index d31b6ec4d1..deafdd42c9 100644 --- a/distribution/readme.txt +++ b/distribution/readme.txt @@ -143,12 +143,12 @@ to all files in this distribution, except as noted below. dukglue | MIT licence. duktape | MIT licence. -Jansson | MIT licence. libcURL | MIT (or Modified BSD-style) licence. libicu | Unicode licence. -libspeex | BSD-style licence. libpng | libpng licence. +libspeex | BSD-style licence. libzip | BSD 3 clause licence. +nlohmann-json | MIT licence. OpenSSL | OpenSSL Licence SDL2 | zlib licence. zlib | zlib licence. diff --git a/readme.md b/readme.md index 724a645f01..47dffe18e4 100644 --- a/readme.md +++ b/readme.md @@ -109,7 +109,7 @@ The program can also be built as a command line program using CMake. This type o - libpng (>= 1.2) - speexdsp (only for UI client) - curl (only if building with http support) -- jansson (>= 2.5) +- nlohmann-json (>= 3.6.0) - openssl (>= 1.0; only if building with multiplayer support) - icu (>= 59.0) - zlib @@ -148,7 +148,7 @@ The recommended way of building OpenRCT2 for macOS is with Xcode. The Xcode buil #### CMake: A command line version of OpenRCT2 can be built using CMake. This type of build requires you to provide the dependencies yourself. The supported method of doing this is with [Homebrew](http://brew.sh). Once you have Homebrew installed, you can download all the required libraries with this command: ``` -brew install cmake duktape freetype icu4c jansson libpng libzip openssl pkg-config sdl2 speexdsp +brew install cmake duktape freetype icu4c nlohmann-json libpng libzip openssl pkg-config sdl2 speexdsp ``` Once you have the dependencies installed, you can build the project using CMake using the following commands: