fix serverlist implementation error, fix postgres find, fix pkg-config missing from ci build

* closes https://codeberg.org/minenux/minetest-engine-minetest/issues/25
* related https://codeberg.org/minenux/minetest-engine-multicraft2/issues/46
This commit is contained in:
mckaygerhard 2023-09-13 00:41:06 -04:00
parent 02da4d6a59
commit cb8fa1e674
2 changed files with 3 additions and 2 deletions

View File

@ -211,8 +211,8 @@ if(ENABLE_POSTGRESQL)
set(USE_POSTGRESQL TRUE) set(USE_POSTGRESQL TRUE)
message(STATUS "PostgreSQL backend enabled") message(STATUS "PostgreSQL backend enabled")
# This variable is case sensitive, don't try to change it to POSTGRESQL_INCLUDE_DIR # This variable is case sensitive, don't try to change it to POSTGRESQL_INCLUDE_DIR
message(STATUS "PostgreSQL includes: ${PostgreSQL_INCLUDE_DIR}") message(STATUS "PostgreSQL includes: ${PostgreSQL_INCLUDE_DIRS}")
include_directories(${PostgreSQL_INCLUDE_DIR}) include_directories(${PostgreSQL_INCLUDE_DIRS})
else() else()
message(STATUS "PostgreSQL not found!") message(STATUS "PostgreSQL not found!")
endif() endif()

View File

@ -32,6 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <json/json.h> #include <json/json.h>
#include "convert_json.h" #include "convert_json.h"
#include "httpfetch.h" #include "httpfetch.h"
#include "util/base64.h"
#include "util/string.h" #include "util/string.h"
namespace ServerList namespace ServerList