diff options
| author | manuel <manuel@mausz.at> | 2016-05-01 18:06:14 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-05-01 18:06:14 +0200 |
| commit | 5823b05feb29a59510c32a9c28ca18b50b9b6399 (patch) | |
| tree | ac1603a592af9415b722b2669e04e417bd13c45c /project/cmake/scripts/common/projectmacros.cmake | |
| parent | 88de33e1836c646ccf594ef162c258d1210fd24e (diff) | |
| download | kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.gz kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.bz2 kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.zip | |
sync with upstream
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() |
