Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 5c2d905

Browse files
committed
Updated header-only library API to use new argument parsing function as well.
1 parent e9f7edb commit 5c2d905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/Platform/Targets/ArduinoLibraryTarget.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ endfunction()
4747
#=============================================================================#
4848
function(add_arduino_header_only_library _target_name _board_id)
4949

50-
set(headers ${ARGN})
50+
parse_sources_arguments(parsed_headers "" "" "" "${ARGN}")
5151

52-
_add_arduino_cmake_library(${_target_name} ${_board_id} "${headers}" INTERFACE)
52+
_add_arduino_cmake_library(${_target_name} ${_board_id} "${parsed_headers}" INTERFACE)
5353

5454
endfunction()
5555

0 commit comments

Comments
 (0)