Skip to content

Commit

Permalink
done -> configured
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Nov 20, 2024
1 parent 8543f0f commit 27f3a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ function(pico_init_picotool)
endfunction()

function(picotool_check_configurable TARGET)
get_target_property(done ${TARGET} PICOTOOL_PROCESSING_CONFIGURED)
if (done)
get_target_property(configured ${TARGET} PICOTOOL_PROCESSING_CONFIGURED)
if (configured)
message(FATAL_ERROR "All picotool post-processing functions for \"${TARGET}\" must come before pico_add_extra_outputs(${TARGET})")
endif()
endfunction()
Expand Down

0 comments on commit 27f3a8c

Please sign in to comment.