summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-05 16:11:55 +0100
committersfan5 <sfan5@live.de>2021-03-07 14:26:09 +0100
commitdcb30a593dafed89ef52e712533b0706bddbd36e (patch)
tree596e873bcbf5caa765f142908e96456b3e824797 /README.md
parent593d5f4465f5f181b87a1477c7072dca500a9d80 (diff)
downloadminetest-dcb30a593dafed89ef52e712533b0706bddbd36e.tar.gz
minetest-dcb30a593dafed89ef52e712533b0706bddbd36e.tar.bz2
minetest-dcb30a593dafed89ef52e712533b0706bddbd36e.zip
Set ENABLE_SYSTEM_JSONCPP to TRUE by default
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 249f24a16..1d8f754fe 100644
--- a/README.md
+++ b/README.md
@@ -238,7 +238,7 @@ General options and their default values:
ENABLE_LUAJIT=ON - Build with LuaJIT (much faster than non-JIT Lua)
ENABLE_PROMETHEUS=OFF - Build with Prometheus metrics exporter (listens on tcp/30000 by default)
ENABLE_SYSTEM_GMP=ON - Use GMP from system (much faster than bundled mini-gmp)
- ENABLE_SYSTEM_JSONCPP=OFF - Use JsonCPP from system
+ ENABLE_SYSTEM_JSONCPP=ON - Use JsonCPP from system
OPENGL_GL_PREFERENCE=LEGACY - Linux client build only; See CMake Policy CMP0072 for reference
RUN_IN_PLACE=FALSE - Create a portable install (worlds, settings etc. in current directory)
USE_GPROF=FALSE - Enable profiling using GProf
@@ -354,7 +354,7 @@ This is outdated and not recommended. Follow the instructions on https://dev.min
Run the following script in PowerShell:
```powershell
-cmake . -G"Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT=OFF -DENABLE_CURSES=OFF -DENABLE_SYSTEM_JSONCPP=ON
+cmake . -G"Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT=OFF -DENABLE_CURSES=OFF
cmake --build . --config Release
```
Make sure that the right compiler is selected and the path to the vcpkg toolchain is correct.