Skip to content

Instantly share code, notes, and snippets.

@hoodedice
Created May 19, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoodedice/449d6ecd4c4387e28b959d4efa540d3a to your computer and use it in GitHub Desktop.
Save hoodedice/449d6ecd4c4387e28b959d4efa540d3a to your computer and use it in GitHub Desktop.
cd minetest-src &&
cmake . -DRUN_IN_PLACE=FALSE \
-DLEVELDB_INCLUDE_DIR= \
-DLEVELDB_LIBRARY= \
-DPostgreSQL_INCLUDE_DIR="/usr/include/postgresql" \
-DPostgreSQL_LIBRARY="/usr/lib/x86_64-linux-gnu/libpq.so" \
-DPostgreSQL_TYPE_INCLUDE_DIR="/usr/include/postgresql" \
-DREDIS_INCLUDE_DIR="/usr/include/hiredis" \
-DREDIS_LIBRARY="/usr/lib/x86_64-linux-gnu/libhiredis.so" \
-DLEVELDB_INCLUDE_DIR="/usr/include/leveldb" \
-DLEVELDB_LIBRARY="/usr/lib/x86_64-linux-gnu/libleveldb.so" \
-DLUA_INCLUDE_DIR="/usr/include/luajit-2.1" \
-DLUA_LIBRARY="/usr/lib/x86_64-linux-gnu/libluajit.so"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment