File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 11set(DAEMON_TEXT_EMBEDDER "${CMAKE_CURRENT_SOURCE_DIR}/cmake/EmbedText.cmake")
2+ set(DAEMON_SOURCE_GENERATOR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/DaemonSourceGenerator.cmake")
23
34set(DAEMON_GENERATED_SUBDIR "GeneratedSource")
45set(DAEMON_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/${DAEMON_GENERATED_SUBDIR}")
@@ -67,6 +68,7 @@ macro(daemon_embed_files basename slug format targetname)
6768 set(embed_${kind}_src_file "${DAEMON_EMBEDDED_DIR}/${embed_${kind}_basename}")
6869 set(embed_${kind}_file "${DAEMON_EMBEDDED_SUBDIR}/${embed_${kind}_basename}")
6970 set(embed_${kind}_text "${DAEMON_GENERATED_HEADER}")
71+ set_property(SOURCE "${embed_${kind}_src_file}" APPEND PROPERTY SOURCES "${DAEMON_SOURCE_GENERATOR}")
7072 set_property(TARGET "${targetname}" APPEND PROPERTY SOURCES "${embed_${kind}_src_file}")
7173 endforeach()
7274
You can’t perform that action at this time.
0 commit comments