File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- # ArduinoLibrary .cmake
1+ # Arduino .cmake
22# Defines a function to easily add Arduino-style libraries to your CMake project.
33#
44# Example usage for arduino-SAM library from GitHub
5- # Place this in your CMakeLists.txt after including ArduinoLibrary .cmake
5+ # Place this in your CMakeLists.txt after including Arduino .cmake
66#
7- # include(${CMAKE_SOURCE_DIR}/ArduinoLibrary .cmake)
7+ # include(${CMAKE_SOURCE_DIR}/Arduino .cmake)
88# arduino_library(arduino-SAM "https://github.com/pschatzmann/arduino-SAM")
99# target_link_libraries(your_target PRIVATE arduino-SAM)
1010
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ArduinoCore-Linux/cores/arduino/"
6666target_compile_features (arduino_emulator PUBLIC cxx_std_17)
6767
6868# Include Arduino library functions
69- include (${CMAKE_CURRENT_SOURCE_DIR} /ArduinoLibrary .cmake)
69+ include (${CMAKE_CURRENT_SOURCE_DIR} /Arduino .cmake)
7070
7171if (USE_RPI)
7272 target_compile_options (arduino_emulator PUBLIC -DUSE_RPI)
You can’t perform that action at this time.
0 commit comments