1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00: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:
sfan5 2021-04-21 20:25:18 +02:00
parent daf862a38a
commit 3e2145d662
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@ if (BUILD_CLIENT)
${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp
)
if (ENABLE_FREETYPE)
if (USE_FREETYPE)
set(client_irrlicht_changes_SRCS ${client_irrlicht_changes_SRCS}
${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp
)