summaryrefslogtreecommitdiffstats
path: root/project/cmake/scripts/common/projectmacros.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2016-05-01 18:06:14 +0200
committermanuel <manuel@mausz.at>2016-05-01 18:06:14 +0200
commit5823b05feb29a59510c32a9c28ca18b50b9b6399 (patch)
treeac1603a592af9415b722b2669e04e417bd13c45c /project/cmake/scripts/common/projectmacros.cmake
parent88de33e1836c646ccf594ef162c258d1210fd24e (diff)
downloadkodi-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.cmake11
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)
44endfunction() 47endfunction()