aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/common/ProjectMacros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/common/ProjectMacros.cmake')
-rw-r--r--cmake/scripts/common/ProjectMacros.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/scripts/common/ProjectMacros.cmake b/cmake/scripts/common/ProjectMacros.cmake
index 015cc3db94..e3d9a58a6d 100644
--- a/cmake/scripts/common/ProjectMacros.cmake
+++ b/cmake/scripts/common/ProjectMacros.cmake
@@ -8,6 +8,8 @@
# xbt is added to ${XBT_FILES}
function(pack_xbt input output)
file(GLOB_RECURSE MEDIA_FILES ${input}/*)
+ list(APPEND XBT_SOURCE_FILELIST ${MEDIA_FILES})
+ set(XBT_SOURCE_FILELIST ${XBT_SOURCE_FILELIST} PARENT_SCOPE)
get_filename_component(dir ${output} DIRECTORY)
if(${CORE_SYSTEM_NAME} MATCHES "windows")
@@ -45,6 +47,7 @@ function(copy_skin_to_buildtree skin)
endforeach()
set(XBT_FILES ${XBT_FILES} PARENT_SCOPE)
+ set(XBT_SOURCE_FILELIST ${XBT_SOURCE_FILELIST} PARENT_SCOPE)
set(install_data ${install_data} PARENT_SCOPE)
endfunction()