Skip to content

Commit b7fe608

Browse files
Merge pull request queezythegreat#84 from szaffarano/master
Fix for issue queezythegreat#83
2 parents d13a67e + 5ae39c3 commit b7fe608

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/Platform/Arduino.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,10 @@ function(setup_arduino_library VAR_NAME BOARD_ID LIB_PATH COMPILE_FLAGS LINK_FLA
984984
list(APPEND LIB_INCLUDES ${DEP_LIB_SRCS_INCLUDES})
985985
endforeach()
986986

987+
if (LIB_INCLUDES)
988+
string(REPLACE ";" " " LIB_INCLUDES "${LIB_INCLUDES}")
989+
endif()
990+
987991
set_target_properties(${TARGET_LIB_NAME} PROPERTIES
988992
COMPILE_FLAGS "${ARDUINO_COMPILE_FLAGS} ${LIB_INCLUDES} -I\"${LIB_PATH}\" -I\"${LIB_PATH}/utility\" ${COMPILE_FLAGS}"
989993
LINK_FLAGS "${ARDUINO_LINK_FLAGS} ${LINK_FLAGS}")

0 commit comments

Comments
 (0)