We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4676e commit 0694e49Copy full SHA for 0694e49
Arduino.cmake
@@ -64,8 +64,13 @@ function(arduino_library LIB_NAME LIB_PATH)
64
else()
65
# For interface libraries, use INTERFACE linkage
66
target_link_libraries(${LIB_NAME} INTERFACE arduino_emulator)
67
- endif()
+ endif()
68
+ if (USE_RPI)
69
+ target_link_libraries(${LIB_NAME} PUBLIC gpiod)
70
+ endif(USE_RPI)
71
+
72
endif()
73
74
endfunction()
75
76
# arduino_sketch(<name> <ino_file> [LIBRARIES <lib1> <lib2> ...] [DEFINITIONS <def1> <def2> ...])
0 commit comments