From f529ebe25329a487ff949e6fe1eb6bffd29626ff Mon Sep 17 00:00:00 2001 From: Rahman Qureshi Date: Thu, 12 Jul 2018 20:30:09 -0400 Subject: [PATCH] add discovered arduino library dependencies as link targets to generated arduino libraries --- cmake/Platform/Generation/ArduinoLibraryGenerator.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Platform/Generation/ArduinoLibraryGenerator.cmake b/cmake/Platform/Generation/ArduinoLibraryGenerator.cmake index d50e5c4..d0618f0 100644 --- a/cmake/Platform/Generation/ArduinoLibraryGenerator.cmake +++ b/cmake/Platform/Generation/ArduinoLibraryGenerator.cmake @@ -35,7 +35,7 @@ function(GENERATE_ARDUINO_LIBRARY INPUT_NAME) endforeach () if (NOT ${INPUT_NO_AUTOLIBS}) - make_arduino_libraries(ALL_LIBS ${BOARD_ID} "${ALL_SRCS}" "" "${LIB_DEP_INCLUDES}" "") + make_arduino_libraries(ALL_LIBS ${BOARD_ID} "${ALL_SRCS}" "${TARGET_LIBS}" "${LIB_DEP_INCLUDES}" "") endif () list(APPEND ALL_LIBS ${CORE_LIB} ${INPUT_LIBS})