diff options
Diffstat (limited to 'project/cmake/scripts/common/projectmacros.cmake')
| -rw-r--r-- | project/cmake/scripts/common/projectmacros.cmake | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/project/cmake/scripts/common/projectmacros.cmake b/project/cmake/scripts/common/projectmacros.cmake index d0739c4..7ce4ee9 100644 --- a/project/cmake/scripts/common/projectmacros.cmake +++ b/project/cmake/scripts/common/projectmacros.cmake | |||
| @@ -35,10 +35,13 @@ function(copy_skin_to_buildtree skin relative) | |||
| 35 | endforeach() | 35 | endforeach() |
| 36 | file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${dest}/media) | 36 | file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${dest}/media) |
| 37 | string(REPLACE "${relative}/" "" dest ${skin}) | 37 | string(REPLACE "${relative}/" "" dest ${skin}) |
| 38 | pack_xbt(${skin}/media | 38 | pack_xbt(${skin}/media ${CMAKE_BINARY_DIR}/${dest}/media/Textures.xbt) |
| 39 | ${CMAKE_BINARY_DIR}/${dest}/media/Textures.xbt | 39 | |
| 40 | ${CMAKE_BINARY_DIR}) | 40 | file(GLOB THEMES RELATIVE ${skin}/themes ${skin}/themes/*) |
| 41 | 41 | foreach(theme ${THEMES}) | |
| 42 | pack_xbt(${skin}/themes/${theme} ${CMAKE_BINARY_DIR}/${dest}/media/${theme}.xbt) | ||
| 43 | endforeach() | ||
| 44 | |||
| 42 | set(XBT_FILES ${XBT_FILES} PARENT_SCOPE) | 45 | set(XBT_FILES ${XBT_FILES} PARENT_SCOPE) |
| 43 | set(install_data ${install_data} PARENT_SCOPE) | 46 | set(install_data ${install_data} PARENT_SCOPE) |
| 44 | endfunction() | 47 | endfunction() |
