Skip to content

Commit

Permalink
Making libfirmata library static (#879)
Browse files Browse the repository at this point in the history
Co-authored-by: Wolfgang Reissenberger <[email protected]>
  • Loading branch information
sterne-jaeger and Wolfgang Reissenberger authored Jan 4, 2024
1 parent 4ddc7a0 commit 74d40e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indi-duino/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ set (firmata_SRCS
)
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/libfirmata/src/firmata.cpp PROPERTIES COMPILE_FLAGS "-Wno-error")
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/libfirmata/src/arduino.cpp PROPERTIES COMPILE_FLAGS "-Wno-error")
add_library(firmata ${firmata_SRCS})
add_library(firmata STATIC ${firmata_SRCS})
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/libfirmata/examples/blink_pin.cpp PROPERTIES COMPILE_FLAGS "-Wno-error")
add_executable(blink_pin ${CMAKE_CURRENT_SOURCE_DIR}/libfirmata/examples/blink_pin.cpp)
target_link_libraries (blink_pin firmata)
Expand Down

0 comments on commit 74d40e1

Please sign in to comment.