aboutsummaryrefslogtreecommitdiff
path: root/src/irrlicht_changes/CMakeLists.txt
blob: 87c88f7e808a6472641756fab40c4e38cf48dfd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if (BUILD_CLIENT)
	set(client_irrlicht_changes_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/static_text.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)
endif()