aboutsummaryrefslogtreecommitdiff
path: root/src/irrlicht_changes/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/irrlicht_changes/CMakeLists.txt')
-rw-r--r--src/irrlicht_changes/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/irrlicht_changes/CMakeLists.txt b/src/irrlicht_changes/CMakeLists.txt
new file mode 100644
index 000000000..19f431af3
--- /dev/null
+++ b/src/irrlicht_changes/CMakeLists.txt
@@ -0,0 +1,11 @@
+if (BUILD_CLIENT)
+ set(client_irrlicht_changes_SRCS
+ ${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp
+ )
+
+ # 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()
+