File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ endfunction()
662662# ----------------------------------------------------------------------------------------------------------------------
663663# Resolves the absolute filepath where arduino-cli would store `FILENAME` after processing.
664664# ----------------------------------------------------------------------------------------------------------------------
665- function (__arduino_resolve_preprocessed_filepath SOURCE_DIRPATH FILENAME SKETCH_DIRPATH OUTPUT_VARIABLE )
665+ function (__arduino_resolve_preprocessed_filepath SOURCE_DIRPATH FILENAME OUTPUT_DIRPATH OUTPUT_VARIABLE )
666666 cmake_path(
667667 ABSOLUTE_PATH FILENAME
668668 BASE_DIRECTORY "${SOURCE_DIRPATH} "
@@ -677,7 +677,7 @@ function(__arduino_resolve_preprocessed_filepath SOURCE_DIRPATH FILENAME SKETCH_
677677 BASE_DIRECTORY "${SOURCE_DIRPATH} "
678678 OUTPUT_VARIABLE _relative_filepath)
679679
680- set ("${OUTPUT_VARIABLE} " "${SKETCH_DIRPATH } /${_relative_filepath} " PARENT_SCOPE)
680+ set ("${OUTPUT_VARIABLE} " "${OUTPUT_DIRPATH } /${_relative_filepath} " PARENT_SCOPE)
681681 else ()
682682 unset ("${OUTPUT_VARIABLE} " PARENT_SCOPE)
683683 endif ()
You can’t perform that action at this time.
0 commit comments