diff --git a/cmake/autocoder/fpp.cmake b/cmake/autocoder/fpp.cmake index 71044c929b..73343ec20a 100644 --- a/cmake/autocoder/fpp.cmake +++ b/cmake/autocoder/fpp.cmake @@ -196,7 +196,8 @@ function(fpp_setup_autocode AC_INPUT_FILES) list(APPEND GENERATED_CPP "${GENERATED}") endif() endforeach() - file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/fpp-input-list" "${FPP_IMPORTS};${AC_INPUT_FILES}") + file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/fpp-import-list" "${FPP_IMPORTS}") + file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/fpp-source-list" "${AC_INPUT_FILES}") # Add in steps for Ai.xml generation if (GENERATED_AI) add_custom_command(