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
2
2
# Defines a function to easily add Arduino-style libraries to your CMake project.
3
3
#
4
4
# 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
6
6
#
7
- # include(${CMAKE_SOURCE_DIR}/ArduinoLibrary .cmake)
7
+ # include(${CMAKE_SOURCE_DIR}/Arduino .cmake)
8
8
# arduino_library(arduino-SAM "https://github.com/pschatzmann/arduino-SAM")
9
9
# target_link_libraries(your_target PRIVATE arduino-SAM)
10
10
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ArduinoCore-Linux/cores/arduino/"
66
66
target_compile_features (arduino_emulator PUBLIC cxx_std_17)
67
67
68
68
# Include Arduino library functions
69
- include (${CMAKE_CURRENT_SOURCE_DIR} /ArduinoLibrary .cmake)
69
+ include (${CMAKE_CURRENT_SOURCE_DIR} /Arduino .cmake)
70
70
71
71
if (USE_RPI)
72
72
target_compile_options (arduino_emulator PUBLIC -DUSE_RPI)
You can’t perform that action at this time.
0 commit comments