Skip to content

Commit 5b25b17

Browse files
authored
fix argument number for custom linker script (ARMmbed#169)
1 parent a639176 commit 5b25b17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cmake/mbed_target_functions.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ function(mbed_set_post_build target)
134134
)
135135
endif()
136136
else()
137-
message(STATUS "${target} uses custom linker script ${ARGV2}")
138-
mbed_set_custom_linker_script(${target} ${ARGV2})
137+
message(STATUS "${target} uses custom linker script ${ARGV1}")
138+
mbed_set_custom_linker_script(${target} ${ARGV1})
139139
endif()
140140
endif()
141141

0 commit comments

Comments
 (0)