Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt21
1 files changed, 18 insertions, 3 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 5ed9355105a..585a2f58204 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -958,13 +958,28 @@ delayed_do_install(${TARGETDIR_VER})
unset(BLENDER_TEXT_FILES)
unset(BLENDER_TEXT_FILES_DESTINATION)
+
+# -----------------------------------------------------------------------------
+# Geometry Icons
+
# Geometry icons.
+get_property(_icon_names GLOBAL PROPERTY ICON_GEOM_NAMES)
+set(_icon_files)
+foreach(_f ${_icon_names})
+ list(APPEND _icon_files
+ "${CMAKE_SOURCE_DIR}/release/datafiles/icons/${_f}.dat"
+ )
+endforeach()
install(
- DIRECTORY
- ${CMAKE_SOURCE_DIR}/release/datafiles/icons
- DESTINATION ${TARGETDIR_VER}/datafiles
+ FILES ${_icon_files}
+ DESTINATION ${TARGETDIR_VER}/datafiles/icons
)
+unset(_icon_names)
+unset(_icon_files)
+unset(_f)
+
+
# -----------------------------------------------------------------------------
# Setup link libs