mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 03:05:29 +02:00
Fix two CMake build issues
* PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found
This commit is contained in:
@@ -152,6 +152,7 @@ if(ENABLE_POSTGRESQL)
|
||||
# but we don't need them, so continue anyway if only those are missing.
|
||||
if(PostgreSQL_INCLUDE_DIR AND PostgreSQL_LIBRARY)
|
||||
set(PostgreSQL_FOUND TRUE)
|
||||
set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR})
|
||||
endif()
|
||||
else()
|
||||
find_package(PostgreSQL)
|
||||
|
Reference in New Issue
Block a user