mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-01 07:45:26 +01:00
Fully remove bitmap font support (#11863)
Freetype is now a build requirement.
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
if (BUILD_CLIENT)
|
||||
set(client_irrlicht_changes_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp
|
||||
)
|
||||
|
||||
if (USE_FREETYPE)
|
||||
set(client_irrlicht_changes_SRCS ${client_irrlicht_changes_SRCS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
# CMake require us to set a local scope and then parent scope
|
||||
# Else the last set win in parent scope
|
||||
set(client_irrlicht_changes_SRCS ${client_irrlicht_changes_SRCS} PARENT_SCOPE)
|
||||
|
||||
Reference in New Issue
Block a user