Skip to content

Commit

Permalink
Revise CMake formatting
Browse files Browse the repository at this point in the history
Resolves #155 (Revise CMake formatting).
  • Loading branch information
apcountryman committed Apr 13, 2024
1 parent b38668e commit a4460a2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions avrdude-utilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ function( add_avrdude_target target )
)

if( DEFINED add_avrdude_target_UNPARSED_ARGUMENTS )
message(
FATAL_ERROR
message( FATAL_ERROR
"'${add_avrdude_target_UNPARSED_ARGUMENTS}' are not supported arguments"
)
endif( DEFINED add_avrdude_target_UNPARSED_ARGUMENTS )
Expand Down Expand Up @@ -201,8 +200,7 @@ function( add_avrdude_programming_target executable target_postfix )
)

if( DEFINED add_avrdude_programming_target_UNPARSED_ARGUMENTS )
message(
FATAL_ERROR
message( FATAL_ERROR
"'${add_avrdude_programming_target_UNPARSED_ARGUMENTS}' are not supported arguments"
)
endif( DEFINED add_avrdude_programming_target_UNPARSED_ARGUMENTS )
Expand Down Expand Up @@ -297,8 +295,7 @@ function( add_avrdude_flash_programming_targets executable )
)

if( DEFINED add_avrdude_flash_programming_targets_UNPARSED_ARGUMENTS )
message(
FATAL_ERROR
message( FATAL_ERROR
"'${add_avrdude_flash_programming_targets_UNPARSED_ARGUMENTS}' are not supported arguments"
)
endif( DEFINED add_avrdude_flash_programming_targets_UNPARSED_ARGUMENTS )
Expand Down Expand Up @@ -377,8 +374,7 @@ function( add_avrdude_eeprom_programming_targets executable )
)

if( DEFINED add_avrdude_eeprom_programming_targets_UNPARSED_ARGUMENTS )
message(
FATAL_ERROR
message( FATAL_ERROR
"'${add_avrdude_eeprom_programming_targets_UNPARSED_ARGUMENTS}' are not supported arguments"
)
endif( DEFINED add_avrdude_eeprom_programming_targets_UNPARSED_ARGUMENTS )
Expand Down

0 comments on commit a4460a2

Please sign in to comment.