mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 20:55:43 +02:00
Merge cguittfont lib in irrlicht change folder. (#6016)
* Merge cguittfont lib in irrlicht change folder. This remove hack and static lib for FreeType
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
if (BUILD_CLIENT)
|
||||
set(client_irrlicht_changes_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
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()
|
||||
|
||||
|
Reference in New Issue
Block a user