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 @@ -83,12 +83,14 @@ function(fprime__internal_process_configuration_source_set MODULE_NAME SOURCE_SE
83
83
fprime_cmake_debug_message ("[config] Overriding ${DESTINATION} with ${SOURCE} " )
84
84
file (COPY_FILE "${SOURCE} " "${DESTINATION} " ONLY_IF_DIFFERENT )
85
85
list (APPEND NEW_DEPENDS "${DESTINATION_MODULE} " )
86
+ set_property (DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${SOURCE} " )
86
87
# If the source is new, move it to the binary directory
87
88
else ()
88
89
fprime_cmake_debug_message ("[config] Initial config ${DESTINATION} from ${SOURCE} " )
89
90
list (APPEND RETURNED_SOURCES "${DESTINATION} " )
90
91
file (MAKE_DIRECTORY "${DESTINATION_DIRECTORY} " )
91
92
file (COPY_FILE "${SOURCE} " "${DESTINATION} " ONLY_IF_DIFFERENT )
93
+ set_property (DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${SOURCE} " )
92
94
endif ()
93
95
endforeach ()
94
96
set (PROCESSED_SOURCES "${RETURNED_SOURCES} " PARENT_SCOPE )
You can’t perform that action at this time.
0 commit comments