mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
* Merge cguittfont lib in irrlicht change folder. This remove hack and static lib for FreeType
16 lines
444 B
CMake
16 lines
444 B
CMake
if (BUILD_CLIENT)
|
|
set(client_irrlicht_changes_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp
|
|
)
|
|
|
|
if (ENABLE_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)
|
|
endif()
|
|
|