Page MenuHomePhorge

D145.1732289920.diff
No OneTemporary

Size
870 B
Referenced Files
None
Subscribers
None

D145.1732289920.diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,6 +5,7 @@
cmake_parse_arguments(PARSE_ARGV 0 kazv_add_qml_files "${options}" "${oneValueArgs}" "${multiValueArgs}")
set(target "${kazv_add_qml_files_UNPARSED_ARGUMENTS}")
+ set(allSources)
foreach(source ${kazv_add_qml_files_SOURCES})
message(STATUS "Adding source: ${kazv_add_qml_files_BASE_DIRECTORY} / ${source}")
set_source_files_properties(
@@ -12,11 +13,12 @@
PROPERTIES
QT_RESOURCE_ALIAS "${source}"
)
- qt_target_qml_sources(
- "${target}"
- QML_FILES "${kazv_add_qml_files_BASE_DIRECTORY}/${source}"
- )
+ list(APPEND allSources "${kazv_add_qml_files_BASE_DIRECTORY}/${source}")
endforeach()
+ qt_target_qml_sources(
+ "${target}"
+ QML_FILES ${allSources}
+ )
endfunction()

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 7:38 AM (5 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38836
Default Alt Text
D145.1732289920.diff (870 B)

Event Timeline